vulkan_test2

view 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
line source
1 #version 450
2 #extension GL_ARB_separate_shader_objects: enable
4 layout(location = 0) out vec4 outcolor;
6 void main()
7 {
8 outcolor = vec4(1.0, 0.0, 0.0, 1.0);
9 }