1
0
mirror of https://github.com/moparisthebest/minetest synced 2024-11-06 09:25:04 -05:00
minetest/client/shaders/default_shader/opengl_vertex.glsl

10 lines
182 B
GLSL

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