mirror of
https://github.com/minetest/minetest.git
synced 2024-12-24 07:02:23 +01:00
c47313db65
Co-authored-by: x2048 <codeforsmile@gmail.com>
10 lines
173 B
GLSL
10 lines
173 B
GLSL
|
|
void main()
|
|
{
|
|
vec4 uv = vec4(gl_Vertex.xyz, 1.0) * 0.5 + 0.5;
|
|
gl_TexCoord[0] = uv;
|
|
gl_TexCoord[1] = uv;
|
|
gl_TexCoord[2] = uv;
|
|
gl_Position = vec4(gl_Vertex.xyz, 1.0);
|
|
}
|