minetest/client/shaders/minimap_shader/opengl_vertex.glsl

12 lines
213 B
Plaintext
Raw Normal View History

2015-06-22 04:34:56 +02:00
uniform mat4 mWorld;
varying lowp vec4 varColor;
varying mediump vec2 varTexCoord;
2015-06-22 04:34:56 +02:00
void main(void)
{
varTexCoord = inTexCoord0.st;
gl_Position = mWorldViewProj * inVertexPosition;
varColor = inVertexColor;
2015-06-22 04:34:56 +02:00
}