Skip to content
Permalink
Browse files

Transform texture UVs with provided tex. matrix (#9515)

fixes #9481
  • Loading branch information
dcbrwn committed Mar 16, 2020
1 parent 5a31d56 commit ca646487f22223ef676d928ba9345e41cff63e43
Showing with 1 addition and 1 deletion.
  1. +1 −1 client/shaders/object_shader/opengl_vertex.glsl
@@ -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;

0 comments on commit ca64648

Please sign in to comment.
You can’t perform that action at this time.