diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-04-14 19:40:32 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2008-04-14 19:40:32 +0400 |
commit | 7eb1b45281ad6b163ef8f2d67fb42f099260ec61 (patch) | |
tree | 1edefd0a52706537b457d6c673d3e0e47a2f3802 /source | |
parent | f8a29350ad386701a1c215ab6304352c655c6ae5 (diff) |
Fix for bug #7903 and #8960: arealight giving black borders and not
working correct with translucency. Removed a check that presumably
is an optimization, but can't work correct and also gives no noticable
performance difference in my tests.
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/render/intern/source/shadeoutput.c | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/render/intern/source/shadeoutput.c b/source/blender/render/intern/source/shadeoutput.c index d4398fcaaee..e1de2710394 100644 --- a/source/blender/render/intern/source/shadeoutput.c +++ b/source/blender/render/intern/source/shadeoutput.c @@ -429,10 +429,6 @@ static float area_lamp_energy(float (*area)[3], float *co, float *vn) double cross[4][3]; /* cross products of this */ double rad[4]; /* angles between vecs */ - /* extra test for dot */ - if ( INPR(co, vn) <= 0.0f) - return 0.0f; - VECSUB(vec[0], co, area[0]); VECSUB(vec[1], co, area[1]); VECSUB(vec[2], co, area[2]); |