|
@@ -1,7 +1,7 @@
|
|
export default /* glsl */`
|
|
export default /* glsl */`
|
|
#ifdef USE_CLEARCOAT_NORMALMAP
|
|
#ifdef USE_CLEARCOAT_NORMALMAP
|
|
|
|
|
|
- vec3 clearcoatMapN = texture2D( normalMap, vUv ).xyz * 2.0 - 1.0;
|
|
|
|
|
|
+ vec3 clearcoatMapN = texture2D( clearcoatNormalMap, vUv ).xyz * 2.0 - 1.0;
|
|
clearcoatMapN.xy *= clearcoatNormalScale;
|
|
clearcoatMapN.xy *= clearcoatNormalScale;
|
|
|
|
|
|
#ifdef USE_TANGENT
|
|
#ifdef USE_TANGENT
|