瀏覽代碼

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 年之前
父節點
當前提交
1dd2f398e1
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 二進制
      examples/screenshots/webgpu_parallax_uv.jpg
  2. 2 2
      examples/webgpu_parallax_uv.html

二進制
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;
 
 				//