Draw chasms using vertex pulling

This commit is contained in:
2025-11-13 21:58:40 +00:00
parent ec1216e7eb
commit 836c0ba772
6 changed files with 25 additions and 22 deletions
+6
View File
@@ -0,0 +1,6 @@
#version 450 core
layout (std140, binding = 0) uniform TheMat { mat4 theMat; } ;
layout (std430, binding = 7) readonly buffer Pos { vec2 pos[]; };
void main() {
gl_Position = theMat * vec4(pos[gl_VertexID],0,1);
}