Skip to content

Commit

Permalink
style: Correct spelling mistake (mrdoob#23993)
Browse files Browse the repository at this point in the history
Missing l in clearcoatNormalMap
  • Loading branch information
jkristensen authored and abernier committed Sep 16, 2022
1 parent 145e4da commit 1ccc10f
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions examples/webgl_materials_physical_clearcoat.html
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@

const normalMap4 = textureLoader.load( 'textures/golfball.jpg' );

const clearcoatNormaMap = textureLoader.load( 'textures/pbr/Scratched_gold/Scratched_gold_01_1K_Normal.png' );
const clearcoatNormalMap = textureLoader.load( 'textures/pbr/Scratched_gold/Scratched_gold_01_1K_Normal.png' );

// car paint

Expand Down Expand Up @@ -128,7 +128,7 @@
roughness: 0.1,
clearcoat: 1.0,
normalMap: normalMap4,
clearcoatNormalMap: clearcoatNormaMap,
clearcoatNormalMap: clearcoatNormalMap,

// y scale is negated to compensate for normal map handedness.
clearcoatNormalScale: new THREE.Vector2( 2.0, - 2.0 )
Expand All @@ -146,7 +146,7 @@
color: 0xff0000,
normalMap: normalMap2,
normalScale: new THREE.Vector2( 0.15, 0.15 ),
clearcoatNormalMap: clearcoatNormaMap,
clearcoatNormalMap: clearcoatNormalMap,

// y scale is negated to compensate for normal map handedness.
clearcoatNormalScale: new THREE.Vector2( 2.0, - 2.0 )
Expand Down

0 comments on commit 1ccc10f

Please sign in to comment.