summary refs log tree commit diff
path: root/shaders/shader.frag
diff options
context:
space:
mode:
authorIrene Knapp <ireneista@irenes.space>2026-07-06 17:31:27 -0700
committerIrene Knapp <ireneista@irenes.space>2026-07-06 19:15:56 -0700
commit5b4b3d5f61c6939b14c3d7d38662f00fc9530f73 (patch)
tree2672d6dabcabff2a31af66f082490c6c6c0ea6e6 /shaders/shader.frag
parente2ff6de8bf004753b363d858e094ea4da33e3071 (diff)
render a few frames at once
Force-Push: yes
Change-Id: Ibf09815b6d64c80242d623a1a5f387d6e7166f67
Diffstat (limited to 'shaders/shader.frag')
-rw-r--r--shaders/shader.frag3
1 files changed, 2 insertions, 1 deletions
diff --git a/shaders/shader.frag b/shaders/shader.frag
index f79ee65..f554b9b 100644
--- a/shaders/shader.frag
+++ b/shaders/shader.frag
@@ -1,7 +1,8 @@
 #version 460
 
+layout(location = 0) in vec3 vertexColor;
 layout(location = 0) out vec4 outColor;
 
 void main() {
-  outColor = vec4(1.0, 0.0, 0.0, 1.0);
+  outColor = vec4(vertexColor, 1.0);
 }