| # | Line 139 | Line 139 | srcsamps( /* sample sources from this surface positi | |
|---|---|---|
| 139 | if (i < 0) | |
| 140 | continue; /* must not be important */ | |
| 141 | sr.rno = i; | |
| 142 | < | d = getBSDF_incrad(il->sd, i); |
| 143 | < | d = 1.0/(PI*d*d); |
| 142 | > | d = 1.0/getBSDF_incohm(il->sd, i); |
| 143 | } else { | |
| 144 | if (v[2] >= -FTINY) | |
| 145 | continue; /* only sample transmission */ | |
| – | Removed lines |
| + | Added lines |
| < | Changed lines (old) |
| > | Changed lines (new) |