1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-20 11:35:21 +02:00
Files
luanti/client/shaders/shadow/pass2/opengl_vertex.glsl
2025-10-15 23:08:43 +02:00

13 lines
238 B
GLSL

#ifdef GL_ES
varying mediump vec2 varTexCoord;
#else
centroid varying vec2 varTexCoord;
#endif
void main()
{
vec4 uv = vec4(inVertexPosition.xyz, 1.0) * 0.5 + 0.5;
varTexCoord = uv.st;
gl_Position = vec4(inVertexPosition.xyz, 1.0);
}