Skip to content

Commit

Permalink
Examples: Correction to texture colorspace in webgpu parallax example (
Browse files Browse the repository at this point in the history
…#27874)

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

* update screenshot

---------
  • Loading branch information
donmccurdy authored Mar 6, 2024
1 parent f9e5848 commit 1dd2f39
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Binary file modified examples/screenshots/webgpu_parallax_uv.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 2 additions & 2 deletions examples/webgpu_parallax_uv.html
Original file line number Diff line number Diff line change
Expand Up @@ -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;

//

Expand Down

0 comments on commit 1dd2f39

Please sign in to comment.