Skip to content

Commit

Permalink
Transform texture UVs with provided tex. matrix (#9515)
Browse files Browse the repository at this point in the history
fixes #9481
  • Loading branch information
FunkyDck committed Mar 16, 2020
1 parent 5a31d56 commit ca64648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/shaders/object_shader/opengl_vertex.glsl
Expand Up @@ -27,7 +27,7 @@ float directional_ambient(vec3 normal)

void main(void)
{
gl_TexCoord[0] = gl_MultiTexCoord0;
gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
gl_Position = mWorldViewProj * gl_Vertex;

vPosition = gl_Position.xyz;
Expand Down

0 comments on commit ca64648

Please sign in to comment.