 
 #ifdef MATERIAL_CLEARCOAT
     #ifdef HAS_CLEARCOAT_ROUGHNESS_MAP
-        mrSample = texture(u_ClearcoatRoughnessSampler, getClearcoatRoughnessUV());
-        clearcoatRoughness = mrSample.g * u_ClearcoatRoughnessFactor;
+        vec4 ccSampleRough = texture(u_ClearcoatRoughnessSampler, getClearcoatRoughnessUV());
+        clearcoatRoughness = ccSampleRough.g * u_ClearcoatRoughnessFactor;
     #else
         clearcoatRoughness = u_ClearcoatRoughnessFactor;
     #endif


#ifdef MATERIAL_CLEARCOAT
    #ifdef HAS_CLEARCOAT_NORMAL_MAP
        mrSample = texture(u_ClearcoatNormalSampler, getClearcoatNormalUV());
        clearcoatNormal = mrSample.xyz;
    #else
        clearcoatNormal = getSurface();
    #endif


#ifdef MATERIAL_CLEARCOAT
    #ifdef HAS_CLEARCOAT_TEXTURE_MAP
        vec4 ccSample = texture(u_ClearcoatSampler, getClearcoatUV());
        clearcoatFactor = ccSample.r * u_ClearcoatFactor;
    #else
        clearcoatFactor = u_ClearcoatFactor;
    #endif
