somehow lost texturing need to look back

This commit is contained in:
2019-09-09 22:34:46 -07:00
parent bf3abfe29d
commit 709a617cd1
3 changed files with 7 additions and 5 deletions

View File

@@ -10,6 +10,7 @@ layout(location = 0) out vec4 f_color;
// This is bound by the descriptor set
// Currently handled by the individual buffer and are 1:1
layout(set = 0, binding = 0, rgba32ui) readonly uniform uimage2D img;
void main() {
ivec2 pos = ivec2(gl_FragCoord.x, gl_FragCoord.y);
@@ -18,5 +19,5 @@ void main() {
float gamma = 0.5;
f_color.rgb = pow(f_color.rgb, vec3(1.0/gamma));
f_color = vec4(1,1,1,0.5);
}