ubo working
This commit is contained in:
@@ -5,8 +5,8 @@ layout(location = 0) in vec2 tex_coords;
|
||||
|
||||
layout(location = 0) out vec4 out_color;
|
||||
|
||||
layout(binding = 1) uniform sampler2D tex;
|
||||
//layout(binding = 1) uniform sampler2D tex;
|
||||
|
||||
void main() {
|
||||
out_color = texture(tex, tex_coords);
|
||||
out_color = vec4(1.0, 0.0, 0.0, 1.0);// texture(tex, tex_coords);
|
||||
}
|
||||
Reference in New Issue
Block a user