minetest/client/shaders/minimap_shader/opengl_vertex.glsl
2024-09-28 12:09:58 +02:00

12 lines
213 B
GLSL

uniform mat4 mWorld;
varying lowp vec4 varColor;
varying mediump vec2 varTexCoord;
void main(void)
{
varTexCoord = inTexCoord0.st;
gl_Position = mWorldViewProj * inVertexPosition;
varColor = inVertexColor;
}