fix: inverted sun texture

This commit is contained in:
Szymon Szczubkowski 2024-02-01 22:28:08 +01:00
parent dcd9359ac4
commit 80db86ab11

View File

@ -17,5 +17,5 @@ void main()
worldPos = (modelMatrix* vec4(vertexPosition,1)).xyz; worldPos = (modelMatrix* vec4(vertexPosition,1)).xyz;
vecNormal = (modelMatrix* vec4(vertexNormal,0)).xyz; vecNormal = (modelMatrix* vec4(vertexNormal,0)).xyz;
gl_Position = transformation * vec4(vertexPosition, 1.0); gl_Position = transformation * vec4(vertexPosition, 1.0);
outVertexTexCoord = -1*vertexTexCoord; outVertexTexCoord = vertexTexCoord;
} }