minetest/client/shaders/minimap_shader/opengl_vertex.glsl

10 lines
193 B
Plaintext
Raw Normal View History

2015-06-22 04:34:56 +02:00
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;
}