mirror of
https://github.com/minetest/minetest.git
synced 2025-03-06 20:48:40 +01:00
Apply texture matrix when rendering shadowmap
Fixes shadows of animated sprite entities
This commit is contained in:
parent
d2a3bed240
commit
97cb404822
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Reference in a new issue