initial impl of get image set

This commit is contained in:
2019-07-28 00:29:52 -07:00
parent 77ccd415d0
commit 982e2ad517
3 changed files with 35 additions and 15 deletions

View File

@@ -8,8 +8,6 @@ void main() {
ivec2 size = ivec2(gl_FragCoord.x, gl_FragCoord.y);
f_color = imageLoad(img, size) / (255.0);
// f_color.a += 100;
// f_color = texture(tex, tex_coords);
float gamma = 0.5;
f_color.rgb = pow(f_color.rgb, vec3(1.0/gamma));