- Fixed dithering in the present shader.

This commit is contained in:
drfrag 2019-06-20 23:40:38 +02:00
parent a6038dc773
commit b359b65f35

View file

@ -2,13 +2,13 @@
in vec2 TexCoord;
out vec4 FragColor;
uniform sampler2D InputTexture;
layout(binding=0) uniform sampler2D InputTexture;
uniform float InvGamma;
uniform float Contrast;
uniform float Brightness;
uniform float Saturation;
uniform int GrayFormula;
uniform sampler2D DitherTexture;
layout(binding=1) uniform sampler2D DitherTexture;
uniform float ColorScale;
vec4 ApplyGamma(vec4 c)