Prechádzať zdrojové kódy

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 rok pred
rodič
commit
1dd2f398e1

BIN
examples/screenshots/webgpu_parallax_uv.jpg


+ 2 - 2
examples/webgpu_parallax_uv.html

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