mirror of
https://github.com/minetest/minetest.git
synced 2024-11-30 03:23:45 +01:00
parent
5a31d56c9f
commit
ca646487f2
@ -27,7 +27,7 @@ float directional_ambient(vec3 normal)
|
|||||||
|
|
||||||
void main(void)
|
void main(void)
|
||||||
{
|
{
|
||||||
gl_TexCoord[0] = gl_MultiTexCoord0;
|
gl_TexCoord[0] = gl_TextureMatrix[0] * gl_MultiTexCoord0;
|
||||||
gl_Position = mWorldViewProj * gl_Vertex;
|
gl_Position = mWorldViewProj * gl_Vertex;
|
||||||
|
|
||||||
vPosition = gl_Position.xyz;
|
vPosition = gl_Position.xyz;
|
||||||
|
Loading…
Reference in New Issue
Block a user