textureMatrix
uniform mat4 textureMatrix;
Transforms texture coordinates. Used by gbuffers_armor_glint
to scroll the texture over time.
vec2 coord = (textureMatrix * vec4(vaUV0, 0.0, 1.0)).xy;
Equivalent to gl_TextureMatrix[0]
in the compatibility profile and older GLSL versions.
vec2 coord = (gl_TextureMatrix[0] * gl_MultiTexCoord0).xy;