forked from mirror/openmw-tes3mp
Use the texture matrix
This commit is contained in:
parent
3e854a84a2
commit
e845c576d4
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ void main(void)
|
|||
vec3 viewNormal = normalize((gl_NormalMatrix * gl_Normal).xyz);
|
||||
|
||||
#if @diffuseMap
|
||||
diffuseMapUV = gl_MultiTexCoord@diffuseMapUV.xy;
|
||||
diffuseMapUV = (gl_TextureMatrix[@diffuseMapUV] * gl_MultiTexCoord@diffuseMapUV).xy;
|
||||
#endif
|
||||
|
||||
lighting = doLighting(viewPos.xyz, viewNormal, gl_Color.xyz);
|
||||
|
|
Loading…
Reference in a new issue