This commit is contained in:
2026-11-08 07:45:01 -05:00
commit 36e093f84c
1109 changed files with 254529 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
#version 330 core
layout (location = 0) in vec3 aPos;
out vec3 TexCoords;
uniform mat4 proj;
uniform mat4 view;
void main()
{
TexCoords = aPos;
vec4 pos = proj * view * vec4(aPos, 1.0);
gl_Position = pos.xyww; // sits on the far plane, so it only draws where no geometry is
}