Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTon Roosendaal <ton@blender.org>2004-08-30 21:17:08 +0400
committerTon Roosendaal <ton@blender.org>2004-08-30 21:17:08 +0400
commite3f97af5c8954d28124dabc6dbca311b3cf6a35b (patch)
treeed8392056027dedb7f6d2ddbefcd47a79194954e
parenta297f42bcd6c16a2f5a5335ec1f9f385ee8733e6 (diff)
Stoopid typo in 'full osa' caused the wrong mask value to be sent to the
raytracer. Instead of only tracing the current subpixel it did all (or most) of them. Solves reports on slow AO in 2.34, but also will affect ray_mir and transp
-rw-r--r--source/blender/render/intern/source/rendercore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/rendercore.c b/source/blender/render/intern/source/rendercore.c
index 754262e5160..eeeb96a62e9 100644
--- a/source/blender/render/intern/source/rendercore.c
+++ b/source/blender/render/intern/source/rendercore.c
@@ -3206,7 +3206,7 @@ void zbufshadeDA(void) /* Delta Accum Pixel Struct */
if(curmask & (1<<samp)) {
xs= (float)x + jit[samp][0];
ys= (float)y + jit[samp][1];
- shadepixel_short(xs, ys, face, curmask, shortcol);
+ shadepixel_short(xs, ys, face, (1<<samp), shortcol);
if(shortcol[3]) add_filt_mask(1<<samp, shortcol, rb1, rb2, rb3);
}