smoothnessG = color.r * 0.7; smoothnessD = smoothnessG; #ifdef COATED_TEXTURES noiseFactor = 0.66; #endif