You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/components/renderer.md
+4-2Lines changed: 4 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -37,10 +37,12 @@ It also configures presentation attributes when entering WebVR/WebXR.
37
37
| maxCanvasWidth | Maximum canvas width. Uses the size multiplied by device pixel ratio. Does not limit canvas width if set to -1. | 1920 |
38
38
| maxCanvasHeight | Maximum canvas height. Behaves the same as maxCanvasWidth. | 1920 |
39
39
| logarithmicDepthBuffer | Whether to use a logarithmic depth buffer. | auto |
40
-
| precision | Fragment shader [precision][precision] : low, medium or high.| high |
40
+
| precision |Fragment shader [precision][precision] : low, medium or high. | high |
41
41
| alpha | Whether the canvas should contain an alpha buffer. | true |
42
+
| toneMapping | Type of toneMapping to use, one of: 'no', 'ACESFilmic', 'linear', 'reinhard', 'cineon' | 'no' |
43
+
| exposure | When any toneMapping other than "no" is used this can be used to make the overall scene brighter or darker | 1 |
42
44
43
-
> **NOTE:** Once the scene is initialized, these properties may no longer be changed.
45
+
> **NOTE:** Once the scene is initialized, none of these properties may no longer be changed apart from "exposure" and "toneMapping" which can be set dynamically.
0 commit comments