فهرست منبع

Examples: Clean up. (#26150)

Michael Herzog 2 سال پیش
والد
کامیت
f90a3aee3c
3فایلهای تغییر یافته به همراه3 افزوده شده و 0 حذف شده
  1. 1 0
      examples/webgpu_cubemap_adjustments.html
  2. 1 0
      examples/webgpu_cubemap_mix.html
  3. 1 0
      examples/webxr_xr_sculpt.html

+ 1 - 0
examples/webgpu_cubemap_adjustments.html

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

+ 1 - 0
examples/webgpu_cubemap_mix.html

@@ -79,6 +79,7 @@
 
 
 				cube2Texture.generateMipmaps = true;
 				cube2Texture.generateMipmaps = true;
 				cube2Texture.minFilter = THREE.LinearMipmapLinearFilter;
 				cube2Texture.minFilter = THREE.LinearMipmapLinearFilter;
+				cube2Texture.colorSpace = THREE.SRGBColorSpace;
 
 
 				scene.environmentNode = mix( cubeTexture( cube2Texture ), cubeTexture( cube1Texture ), oscSine( timerLocal( .1 ) ) );
 				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 );
 				let reflectionCube = new THREE.CubeTextureLoader().load( urls );
+				reflectionCube.colorSpace = THREE.SRGBColorSpace;
 				*/
 				*/
 
 
 				const material = new THREE.MeshStandardMaterial( {
 				const material = new THREE.MeshStandardMaterial( {