dbf-udg
diff sdr/dither.p.glsl @ 3:403ec1be3a1a
foo
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Fri, 11 Jan 2013 22:52:56 +0200 |
parents | c45c7a1f7d9d |
children | 5f99c4c7a9fe |
line diff
1.1 --- a/sdr/dither.p.glsl Wed Jan 09 02:37:05 2013 +0200 1.2 +++ b/sdr/dither.p.glsl Fri Jan 11 22:52:56 2013 +0200 1.3 @@ -7,8 +7,6 @@ 1.4 1.5 vec4 pixel = texture2D(framebuf, gl_TexCoord[0].xy); 1.6 float lum = dot(pixel.xyz, vec3(0.2126, 0.7152, 0.0722)); 1.7 - // gamma correct luminance? 1.8 - //lum = pow(lum, 1.0 / 2.2); 1.9 float coord_shift = floor(lum * levels) / levels; 1.10 1.11 vec2 dsz2 = vec2(float(dither_size), float(dither_size));