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>2006-11-10 17:21:27 +0300
committerTon Roosendaal <ton@blender.org>2006-11-10 17:21:27 +0300
commit2a0ef5454d36637a7a76b99580ed1ec9eab6b968 (patch)
tree17d6b29ed193bc43df4691d38986a262112f86e6 /source/blender/render/intern/include/rendercore.h
parentac14a2c2b7779afc744bb733519daf228cab5c83 (diff)
Bugfix #5199
Irregular shadow buffer, for solid OSA case, suffered aliasing. This caused by optimized storage of shadow factors in 1 pixel (averaged for all sub samples). That didn't work well really... Now the code uses same method as for transparent faces, storing results for each sample.
Diffstat (limited to 'source/blender/render/intern/include/rendercore.h')
-rw-r--r--source/blender/render/intern/include/rendercore.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/blender/render/intern/include/rendercore.h b/source/blender/render/intern/include/rendercore.h
index 27288176a04..dacb9e0b5f9 100644
--- a/source/blender/render/intern/include/rendercore.h
+++ b/source/blender/render/intern/include/rendercore.h
@@ -61,7 +61,8 @@ typedef struct PixStr
{
struct PixStr *next;
int facenr, z;
- unsigned short mask, amount;
+ unsigned short mask;
+ short shadfac;
} PixStr;
typedef struct PixStrMain