Changed the OpenGL part and the GLSL shaders to use UBO and
[demo] / gl_shaders / sky.f.glsl
index d5009c0..688da43 100644 (file)
@@ -1,6 +1,6 @@
 #version 450
 
-uniform samplerCube stex;
+layout(binding = 0) uniform samplerCube stex;
 
 in vec3 normal;
 out vec4 color;
@@ -11,4 +11,4 @@ void main()
 
        color.rgb = texel.rgb;
        color.a = 1.0;
-}
\ No newline at end of file
+}