Fixed shaders to be SPIR-V compatible, added a script that converts
[demo] / shaders / sky.f.glsl
1 #version 450
2
3 layout(binding = 0) uniform samplerCube stex;
4
5 layout(location = 0) in vec3 normal;
6 layout(location = 0) out vec4 color;
7
8 void main()
9 {
10         vec4 texel = texture(stex, normalize(normal));
11
12         color.rgb = texel.rgb;
13         color.a = 1.0;
14 }