1
0
mirror of https://github.com/minetest/minetest.git synced 2024-11-16 15:30:27 +01:00
minetest/client/shaders/selection_shader/opengl_vertex.glsl
2016-03-25 15:57:18 +01:00

10 lines
173 B
GLSL

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