Skip to content

Commit

Permalink
fixed encoding of renderer?
Browse files Browse the repository at this point in the history
  • Loading branch information
Cresythe authored Jan 4, 2024
1 parent aff8aa1 commit 1f3e7fb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion fogTesting.html
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
const renderer = new THREE.WebGLRenderer();
renderer.shadowMap.enabled = true;
renderer.shadowMap.type = THREE.PCFSoftShadowMap;
renderer.outputEncoding = THREE.sRGBEncoding;
renderer.outputColorSpace = THREE.sRGBEncoding;

renderer.setSize( window.innerWidth, window.innerHeight);
document.body.appendChild( renderer.domElement);
Expand Down

0 comments on commit 1f3e7fb

Please sign in to comment.