shader copy to output
All checks were successful
CI / build-test-release (push) Successful in 15m1s

This commit is contained in:
Jorijn van der Graaf 2026-05-01 19:16:13 +02:00
commit de9865b583
8 changed files with 163 additions and 1 deletions

View file

@ -0,0 +1,3 @@
export module ShaderLib;
export int Identify() { return 0; }

View file

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