smoothnessG = pow2(color.r) * 0.5; smoothnessD = smoothnessG; #ifdef COATED_TEXTURES noiseFactor = 0.77; #endif