diff --git a/files/shaders/objects_fragment.glsl b/files/shaders/objects_fragment.glsl index b3a0150af..5a72b44b3 100644 --- a/files/shaders/objects_fragment.glsl +++ b/files/shaders/objects_fragment.glsl @@ -59,7 +59,9 @@ varying vec3 passNormal; void main() { +#if @diffuseMap vec2 adjustedDiffuseUV = diffuseMapUV; +#endif #if @normalMap vec4 normalTex = texture2D(normalMap, normalMapUV);