diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-10-07 19:01:44 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-10-07 19:01:44 +0400 |
commit | 94a9fa4711be6411002bdd32ffbb01c7402f4920 (patch) | |
tree | 22c8efaa75886c840044ad1c58b0450c6d29a44c /source/blender/render/extern/include | |
parent | 0d7d520ffa3cf52829f765687766db694b92f2b1 (diff) |
Fix for bug #13363: ray (qmc) shadows had some light leaking issues,
due to jittering of the start position for antialiasing in a pixel.
Now it distributes the start position over the fixed osa sample
positions, instead of of random positions in space. The ugly bit is
that a custom ordering was defined for osa 8/11/16 to ensure that the
first 4 are distributed relatively fair for adaptive sampling to decide
if more samples need to be taken.
Diffstat (limited to 'source/blender/render/extern/include')
-rw-r--r-- | source/blender/render/extern/include/RE_shader_ext.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/render/extern/include/RE_shader_ext.h b/source/blender/render/extern/include/RE_shader_ext.h index e8403053e0b..888474ffa18 100644 --- a/source/blender/render/extern/include/RE_shader_ext.h +++ b/source/blender/render/extern/include/RE_shader_ext.h @@ -157,6 +157,7 @@ typedef struct ShadeInput int xs, ys; /* pixel to be rendered */ int mask; /* subsample mask */ + float scanco[3]; /* original scanline coordinate without jitter */ int samplenr; /* sample counter, to detect if we should do shadow again */ int depth; /* 1 or larger on raytrace shading */ |