mirror of
https://github.com/minetest/minetest.git
synced 2024-11-27 01:53:45 +01:00
Apply texture matrix when rendering shadowmap
Fixes shadows of animated sprite entities
This commit is contained in:
parent
d2a3bed240
commit
97cb404822
@ -22,5 +22,5 @@ void main()
|
||||
tPos = getPerspectiveFactor(pos);
|
||||
|
||||
gl_Position = vec4(tPos.xyz, 1.0);
|
||||
gl_TexCoord[0].st = gl_MultiTexCoord0.st;
|
||||
gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user