Browse Source

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

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

* update screenshot

---------
Don McCurdy 1 year ago
parent
commit
1dd2f398e1
2 changed files with 2 additions and 2 deletions
  1. BIN
      examples/screenshots/webgpu_parallax_uv.jpg
  2. 2 2
      examples/webgpu_parallax_uv.html

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;
 
 				//