1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-12-25 17:08:48 -05:00
minetest/client/shaders/minimap_shader/opengl_vertex.glsl

12 lines
243 B
Plaintext
Raw Normal View History

2015-06-21 22:34:56 -04:00
uniform mat4 mWorldViewProj;
uniform mat4 mInvWorld;
uniform mat4 mTransWorld;
uniform mat4 mWorld;
void main(void)
{
gl_TexCoord[0] = gl_MultiTexCoord0;
gl_Position = mWorldViewProj * gl_Vertex;
gl_FrontColor = gl_BackColor = gl_Color;
}