Browse Source

Examples: Clean up. (#26150)

Michael Herzog 2 years ago
parent
commit
f90a3aee3c

+ 1 - 0
examples/webgpu_cubemap_adjustments.html

@@ -85,6 +85,7 @@
 
 				cube2Texture.generateMipmaps = true;
 				cube2Texture.minFilter = THREE.LinearMipmapLinearFilter;
+				cube2Texture.colorSpace = THREE.SRGBColorSpace;
 
 				// nodes and environment
 

+ 1 - 0
examples/webgpu_cubemap_mix.html

@@ -79,6 +79,7 @@
 
 				cube2Texture.generateMipmaps = true;
 				cube2Texture.minFilter = THREE.LinearMipmapLinearFilter;
+				cube2Texture.colorSpace = THREE.SRGBColorSpace;
 
 				scene.environmentNode = mix( cubeTexture( cube2Texture ), cubeTexture( cube1Texture ), oscSine( timerLocal( .1 ) ) );
 

+ 1 - 0
examples/webxr_xr_sculpt.html

@@ -134,6 +134,7 @@
 				];
 
 				let reflectionCube = new THREE.CubeTextureLoader().load( urls );
+				reflectionCube.colorSpace = THREE.SRGBColorSpace;
 				*/
 
 				const material = new THREE.MeshStandardMaterial( {