aboutsummaryrefslogtreecommitdiffstats
path: root/frag.glsl
diff options
context:
space:
mode:
Diffstat (limited to 'frag.glsl')
-rw-r--r--frag.glsl3
1 files changed, 2 insertions, 1 deletions
diff --git a/frag.glsl b/frag.glsl
index aa5ec0f..c48ee57 100644
--- a/frag.glsl
+++ b/frag.glsl
@@ -2,8 +2,9 @@
// SPDX-License-Identifier: MIT
#version 330 core
out vec4 color;
+in vec3 vcolor;
void main()
{
- color = vec4(1.0f, 0.5f, 0.2f, 1.0f);
+ color = vec4(vcolor, 1.0);
}