initial impl of get image set
This commit is contained in:
@@ -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));
|
||||
|
||||
Reference in New Issue
Block a user