Apply texture matrix when rendering shadowmap

Fixes shadows of animated sprite entities
This commit is contained in:
Dmitry Kostenko 2022-02-11 23:00:41 +01:00 committed by x2048
parent d2a3bed240
commit 97cb404822

@ -22,5 +22,5 @@ void main()
tPos = getPerspectiveFactor(pos); tPos = getPerspectiveFactor(pos);
gl_Position = vec4(tPos.xyz, 1.0); gl_Position = vec4(tPos.xyz, 1.0);
gl_TexCoord[0].st = gl_MultiTexCoord0.st; gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
} }