vulkan_test2
annotate sdr/pixel.glsl @ 10:8eb3126cc2f1
starting on shaders
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Thu, 21 Jun 2018 06:58:58 +0300 |
parents | |
children | f8bd29f124a8 |
rev | line source |
---|---|
nuclear@10 | 1 #version 450 |
nuclear@10 | 2 #extension GL_ARB_separate_shader_objects: enable |
nuclear@10 | 3 |
nuclear@10 | 4 layout(location = 0) out vec4 outcolor; |
nuclear@10 | 5 |
nuclear@10 | 6 void main() |
nuclear@10 | 7 { |
nuclear@10 | 8 outcolor = vec4(1.0, 0.0, 0.0, 1.0); |
nuclear@10 | 9 } |