Added sprite and better vertex format. works, but now I lost texturing
This commit is contained in:
@@ -1,8 +1,12 @@
|
||||
#version 450
|
||||
layout(location = 0) in vec2 tex_coords;
|
||||
layout(location = 1) in vec4 out_color;
|
||||
|
||||
layout(location = 0) out vec4 f_color;
|
||||
|
||||
layout(set = 0, binding = 0) uniform sampler2D tex;
|
||||
layout(set = 0, binding = 1, rgba32ui) readonly uniform uimage2D img;
|
||||
|
||||
void main() {
|
||||
|
||||
ivec2 pos = ivec2(gl_FragCoord.x, gl_FragCoord.y);
|
||||
|
||||
Reference in New Issue
Block a user