Skip to content

Commit

Permalink
Fix lighting
Browse files Browse the repository at this point in the history
  • Loading branch information
Hacksore committed Sep 16, 2023
1 parent 1d2d867 commit 0685ddc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion examples/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ <h1>Viewport</h1>

<div class="control-section">
<h1>Light</h1>
<label class="control">Global: <input id="global_light" type="number" value="0.40" step="0.01" min="0.00" max="2.00" size="4"></label>
<label class="control">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"></label>
</div>

Expand Down
2 changes: 1 addition & 1 deletion src/viewer.ts
Original file line number Diff line number Diff line change
Expand Up @@ -256,7 +256,7 @@ export class SkinViewer {
*/
readonly playerWrapper: Group;

readonly globalLight: AmbientLight = new AmbientLight(0xffffff, 0.4);
readonly globalLight: AmbientLight = new AmbientLight(0xffffff, 3);
readonly cameraLight: PointLight = new PointLight(0xffffff, 0.6);

readonly composer: EffectComposer;
Expand Down

0 comments on commit 0685ddc

Please sign in to comment.