renderer refactoring done

This commit is contained in:
Dmitry Sergeev
2026-08-23 10:42:06 +03:00
parent c932777cc3
commit ef92dbe7fa
7 changed files with 500 additions and 391 deletions
+12
View File
@@ -0,0 +1,12 @@
#version 450
// Fullscreen triangle, no vertex buffer. One triangle covers the viewport.
vec2 positions[3] = vec2[](
vec2(-1.0, -1.0),
vec2( 3.0, -1.0),
vec2(-1.0, 3.0)
);
void main() {
gl_Position = vec4(positions[gl_VertexIndex], 0.0, 1.0);
}