mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-20 00:25:20 +01:00
9 lines
188 B
GLSL
9 lines
188 B
GLSL
CENTROID_ VARYING_ mediump vec2 varTexCoord;
|
|
|
|
void main()
|
|
{
|
|
vec4 uv = vec4(inVertexPosition.xyz, 1.0) * 0.5 + 0.5;
|
|
varTexCoord = uv.st;
|
|
gl_Position = vec4(inVertexPosition.xyz, 1.0);
|
|
}
|