Skip to content

Commit

Permalink
Update webgl_test_wide_gamut.html
Browse files Browse the repository at this point in the history
Simplify example.
  • Loading branch information
Mugen87 authored Jun 21, 2024
1 parent b77bd39 commit 8dc7350
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions examples/webgl_test_wide_gamut.html
Original file line number Diff line number Diff line change
Expand Up @@ -128,11 +128,8 @@
textureL.colorSpace = THREE.SRGBColorSpace;
textureR.colorSpace = THREE.DisplayP3ColorSpace;

THREE.TextureUtils.contain( textureL, window.innerWidth / window.innerHeight );
THREE.TextureUtils.contain( textureR, window.innerWidth / window.innerHeight );

sceneL.background = textureL;
sceneR.background = textureR;
sceneL.background = THREE.TextureUtils.contain( textureL, window.innerWidth / window.innerHeight );
sceneR.background = THREE.TextureUtils.contain( textureR, window.innerWidth / window.innerHeight );

}

Expand Down

0 comments on commit 8dc7350

Please sign in to comment.