Revert "Force non negative value in bloom"
This reverts commit cb922ed4db
.
This commit is contained in:
parent
45b15c1d65
commit
b5598fda57
@ -12,5 +12,5 @@ void main()
|
|||||||
float luma = getCIEYxy(col).x;
|
float luma = getCIEYxy(col).x;
|
||||||
|
|
||||||
col *= smoothstep(1., 10., luma);
|
col *= smoothstep(1., 10., luma);
|
||||||
FragColor = max(vec4(col, 1.0), vec4(0.));
|
FragColor = vec4(col, 1.0);
|
||||||
}
|
}
|
||||||
|
@ -10,5 +10,5 @@ void main()
|
|||||||
vec4 col = .125 * texture(tex_128, uv);
|
vec4 col = .125 * texture(tex_128, uv);
|
||||||
col += .25 * texture(tex_256, uv);
|
col += .25 * texture(tex_256, uv);
|
||||||
col += .5 * texture(tex_512, uv);
|
col += .5 * texture(tex_512, uv);
|
||||||
FragColor = max(vec4(col.xyz, 1.), vec4(0.));
|
FragColor = vec4(col.xyz, 1.);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user