diff options
Diffstat (limited to 'fragment.frag')
-rw-r--r-- | fragment.frag | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/fragment.frag b/fragment.frag new file mode 100644 index 0000000..91a094d --- /dev/null +++ b/fragment.frag @@ -0,0 +1,10 @@ +#version 450 +#extension GL_ARB_separate_shader_objects : enable + +layout(location = 0) in vec3 color; +layout(location = 0) out vec4 out_color; + +void main() +{ + out_color = vec4(color, 1.0); +} |