initial impl of get image set
This commit is contained in:
@@ -52,7 +52,7 @@ void main() {
|
||||
|
||||
ivec3 m = max(max(max(d0, d1), d2), d3);
|
||||
|
||||
if ((m.x + m.y + m.z) > 975){
|
||||
if ((m.x + m.y + m.z) > 200){
|
||||
p.x = 0;
|
||||
p.y = 0;
|
||||
p.z = 255;
|
||||
|
||||
@@ -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