Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
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
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,11 +86,11 @@ By default, there are two lights on the scene. One is an ambient light, and the

To change the light intensity:
```js
skinViewer.cameraLight.intensity = 0.9;
skinViewer.globalLight.intensity = 0.1;
skinViewer.cameraLight.intensity = 0.6;
skinViewer.globalLight.intensity = 3;
```

Setting `globalLight.intensity` to `1.0` and `cameraLight.intensity` to `0.0`
Setting `globalLight.intensity` to `3.0` and `cameraLight.intensity` to `0.0`
will completely disable shadows.

## Ears
Expand Down
2 changes: 1 addition & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ <h1>Light</h1>
>Global: <input id="global_light" type="number" value="3" step="0.01" min="0.00" max="2.00" size="4"
/></label>
<label class="control"
>Camera: <input id="camera_light" type="number" value="0.60" step="0.01" min="0.00" max="2.00" size="4"
>Camera: <input id="camera_light" type="number" value="0.60" step="10.00" min="0.00" max="3500.00" size="4"
/></label>
</div>

Expand Down