minetest/client/shaders/minimap_shader/opengl_vertex.glsl

12 lines
213 B
Plaintext
Raw Normal View History

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