]> git.sesse.net Git - nageru/commitdiff
Fix a done TODO (gamma is for E_G, not E_S, and we multiply in the alpha in the smoot...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 25 Jul 2018 23:35:21 +0000 (01:35 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Wed, 25 Jul 2018 23:37:00 +0000 (01:37 +0200)
sor.frag

index 6c5333fa5ead7c960a96361ae16fd501638d7a6a..fc9c462bb5b936f1403592810bbd8212f2a57940 100644 (file)
--- 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;