diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-08 17:23:20 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2013-05-08 17:23:20 +0400 |
commit | 4d842df17e8446d798f82a3f9bd54486d1c31c22 (patch) | |
tree | fd53f00b8a9faea8cf8e75039964d8745a190d27 /source | |
parent | a07dcd67ebf63fad08536b1e78bbb61e18fa51e6 (diff) |
Fix #35219: blender internal auto ray bias to avoid the terminator shadow
problem was giving light flickering on a mesh with animated hair strands.
Now strands are not used to compute this auto bias excluded from this, from
tests it does not seem to be helpful for hair and only gives issues.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/render/intern/source/convertblender.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/render/intern/source/convertblender.c b/source/blender/render/intern/source/convertblender.c index 6accbe2e122..1cf6bc820ea 100644 --- a/source/blender/render/intern/source/convertblender.c +++ b/source/blender/render/intern/source/convertblender.c @@ -4194,7 +4194,7 @@ static void set_phong_threshold(ObjectRen *obr) for (i=0; i<obr->totvlak; i++) { vlr= RE_findOrAddVlak(obr, i); - if (vlr->flag & R_SMOOTH) { + if ((vlr->flag & R_SMOOTH) && (vlr->flag & R_STRAND)==0) { dot= dot_v3v3(vlr->n, vlr->v1->n); dot= ABS(dot); if (dot>0.9f) { |