Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
exposure docs
  • Loading branch information
AdaRoseCannon committed Mar 21, 2022
commit 109c9f4ba2ee9b769ae957d7a7201aca83134454
1 change: 1 addition & 0 deletions docs/components/material.md
Original file line number Diff line number Diff line change
Expand Up @@ -238,6 +238,7 @@ such as images or videos. Set `shader` to `flat`:
| height | Height of video (in pixels), if defining a video texture. | 360 |
| repeat | How many times a texture (defined by `src`) repeats in the X and Y direction. | 1 1 |
| src | Image or video texture map. Can either be a selector to an `<img>` or `<video>`, or an inline URL. | None |
| toneMapped | Whether to ignore toneMapping, set to false you are using renderer.toneMapping and an element should appear to emit light. | true |
| width | Width of video (in pixels), if defining a video texture. | 640 |
| wireframe | Whether to render just the geometry edges. | false |
| wireframeLinewidth | Width in px of the rendered line. | 2 |
Expand Down
6 changes: 4 additions & 2 deletions docs/components/renderer.md
Original file line number Diff line number Diff line change
Expand Up @@ -37,10 +37,12 @@ It also configures presentation attributes when entering WebVR/WebXR.
| maxCanvasWidth | Maximum canvas width. Uses the size multiplied by device pixel ratio. Does not limit canvas width if set to -1. | 1920 |
| maxCanvasHeight | Maximum canvas height. Behaves the same as maxCanvasWidth. | 1920 |
| logarithmicDepthBuffer | Whether to use a logarithmic depth buffer. | auto |
| precision | Fragment shader [precision][precision] : low, medium or high. | high |
| precision | Fragment shader [precision][precision] : low, medium or high. | high |
| alpha | Whether the canvas should contain an alpha buffer. | true |
| toneMapping | Type of toneMapping to use, one of: 'No', 'ACESFilmic', 'Linear', 'Reinhard', 'Cineon' | 'No' |
| exposure | When any toneMapping other than "No" is used this can be used to make the overall scene brighter or darker | 1 |

> **NOTE:** Once the scene is initialized, these properties may no longer be changed.
> **NOTE:** Once the scene is initialized, none of these properties may no longer be changed apart from "exposure" which can be set dynamically.

### antialias

Expand Down