diff options
Diffstat (limited to 'engine/fragment-color.glsl')
-rw-r--r-- | engine/fragment-color.glsl | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/engine/fragment-color.glsl b/engine/fragment-color.glsl new file mode 100644 index 0000000..8b209c4 --- /dev/null +++ b/engine/fragment-color.glsl @@ -0,0 +1,9 @@ +#version 330 core +out vec4 FragColor; + +in vec3 in_frag_color; + +void main() +{ + FragColor = vec4(in_frag_color, 1.0); +} |