1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-15 05:45:13 -05:00
minetest/client/shaders/minimap_shader/opengl_vertex.glsl
2016-11-04 18:12:45 +01:00

10 lines
193 B
GLSL

uniform mat4 mWorldViewProj;
uniform mat4 mWorld;
void main(void)
{
gl_TexCoord[0] = gl_MultiTexCoord0;
gl_Position = mWorldViewProj * gl_Vertex;
gl_FrontColor = gl_BackColor = gl_Color;
}