Explorar o código

Examples: Correction to texture colorspace in webgpu parallax example (#27874)

* fix(examples): Correction to texture colorspace in webgpu parallax example

* update screenshot

---------
Don McCurdy hai 1 ano
pai
achega
1dd2f398e1
Modificáronse 2 ficheiros con 2 adicións e 2 borrados
  1. BIN=BIN
      examples/screenshots/webgpu_parallax_uv.jpg
  2. 2 2
      examples/webgpu_parallax_uv.html

BIN=BIN
examples/screenshots/webgpu_parallax_uv.jpg


+ 2 - 2
examples/webgpu_parallax_uv.html

@@ -68,13 +68,13 @@
 				topTexture.colorSpace = THREE.SRGBColorSpace;
 
 				const roughnessTexture = loader.load( 'textures/ambientcg/Ice002_1K-JPG_Roughness.jpg' );
-				roughnessTexture.colorSpace = THREE.SRGBColorSpace;
+				roughnessTexture.colorSpace = THREE.NoColorSpace;
 
 				const normalTexture = loader.load( 'textures/ambientcg/Ice002_1K-JPG_NormalGL.jpg' );
 				normalTexture.colorSpace = THREE.NoColorSpace;
 
 				const displaceTexture = loader.load( 'textures/ambientcg/Ice002_1K-JPG_Displacement.jpg' );
-				displaceTexture.colorSpace = THREE.SRGBColorSpace;
+				displaceTexture.colorSpace = THREE.NoColorSpace;
 
 				//