diff options
Diffstat (limited to 'engine/fragment.glsl')
-rw-r--r-- | engine/fragment.glsl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engine/fragment.glsl b/engine/fragment.glsl index 0c56a32..8b209c4 100644 --- a/engine/fragment.glsl +++ b/engine/fragment.glsl @@ -1,7 +1,9 @@ #version 330 core out vec4 FragColor; +in vec3 in_frag_color; + void main() { - FragColor = vec4(1.0f, 0.5f, 0.2f, 1.0f); + FragColor = vec4(in_frag_color, 1.0); } |