2
0
Эх сурвалжийг харах

Fix second texcoord input attribute in the PBRLitSolid.glsl shader to conform with the new vertex semantic system.

Lasse Öörni 9 жил өмнө
parent
commit
b5489bdf9b

+ 1 - 1
bin/CoreData/Shaders/GLSL/PBRLitSolid.glsl

@@ -86,7 +86,7 @@ void VS()
             // If using lightmap, disregard zone ambient light
             // If using AO, calculate ambient in the PS
             vVertexLight = vec3(0.0, 0.0, 0.0);
-            vTexCoord2 = iTexCoord2;
+            vTexCoord2 = iTexCoord1;
         #else
             vVertexLight = GetAmbient(GetZonePos(worldPos));
         #endif