Go back to smaller dither radius factor

This commit is contained in:
Steven Robertson 2011-12-21 16:20:41 -05:00
parent bb899e51f7
commit 693a7a6dc3

View File

@ -204,7 +204,7 @@ void iter(
{{precalc_camera(pcp.camera)}} {{precalc_camera(pcp.camera)}}
if (threadIdx.y == 5 && threadIdx.x == 4) { if (threadIdx.y == 5 && threadIdx.x == 4) {
float ditherwidth = {{pcp.camera.dither_width}} * 0.5f; float ditherwidth = {{pcp.camera.dither_width}} * 0.33f;
float u0 = mwc_next_01(rctx); float u0 = mwc_next_01(rctx);
float r = ditherwidth * sqrtf(-2.0f * log2f(u0) / M_LOG2E); float r = ditherwidth * sqrtf(-2.0f * log2f(u0) / M_LOG2E);