Added shaders

This commit is contained in:
Pasha Bibko
2025-11-16 17:06:35 +00:00
parent 038396338e
commit f4e77e30a8
4 changed files with 20 additions and 0 deletions

13
shaders/vert.vert Normal file
View File

@@ -0,0 +1,13 @@
#version 450
vec2 positions[3] = vec2[]
(
vec2(0.0, -0.5),
vec2(0.5, 0.5),
vec2(-0.5, 0.5)
);
void main()
{
gl_Position = vec4(positions[gl_VertexIndex], 0.0, 1.0);
}