diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-03-04 22:58:22 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-03-04 22:58:22 +0300 |
commit | 4ba2162e636c78001ffc508a64423357745ed868 (patch) | |
tree | 23f1b401ce3f640f38f85807e2820d218033f847 /source/blender/render/intern/include/shading.h | |
parent | 8b5a5b71d53a139212bd6bfb630e3ea87b533727 (diff) |
Bugfix: the shadow samplenr increment to reuse shadow results in
the renderer could lead to results being reused for unrelated
points, result was one wrong pixel or strand per part. Now instead
of setting the sample counter to 0 multiple times, it keeps a global
counter per thread for the whole render.
Diffstat (limited to 'source/blender/render/intern/include/shading.h')
-rw-r--r-- | source/blender/render/intern/include/shading.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/blender/render/intern/include/shading.h b/source/blender/render/intern/include/shading.h index e015309784d..6f1cb8dd7a9 100644 --- a/source/blender/render/intern/include/shading.h +++ b/source/blender/render/intern/include/shading.h @@ -47,8 +47,6 @@ typedef struct ShadeSample { /* could be malloced once */ ShadeInput shi[RE_MAX_OSA]; ShadeResult shr[RE_MAX_OSA]; - - int samplenr; /* counter, detect shadow-reuse for shaders */ } ShadeSample; |