mirror of
https://github.com/minetest/minetest.git
synced 2024-11-24 00:23:46 +01:00
707c8c1e95
Shader support for OpenGL ES 2 devices (Android) Co-authored-by: sfan5 <sfan5@live.de>
12 lines
213 B
GLSL
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;
|
|
}
|