From: Steinar H. Gunderson Date: Wed, 25 Jul 2018 23:35:21 +0000 (+0200) Subject: Fix a done TODO (gamma is for E_G, not E_S, and we multiply in the alpha in the smoot... X-Git-Tag: 1.8.0~76^2~177 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=d3e424c5666bb02f347ce8dd76a70feb9df0a7cf;p=nageru Fix a done TODO (gamma is for E_G, not E_S, and we multiply in the alpha in the smoothness). --- diff --git a/sor.frag b/sor.frag index 6c5333f..fc9c462 100644 --- a/sor.frag +++ b/sor.frag @@ -35,7 +35,6 @@ void main() // (it couldn't be done earlier, because we didn't know // the values of the neighboring pixels; they change for // each SOR iteration). - // TODO: Multiply by some gamma. float smooth_l = textureOffset(smoothness_x_tex, tc, ivec2(-1, 0)).x; float smooth_r = texture(smoothness_x_tex, tc).x; float smooth_d = textureOffset(smoothness_y_tex, tc, ivec2( 0, -1)).x;