# | Line 624 | Line 624 | m_bsdf(OBJREC *m, RAY *r) | |
---|---|---|
624 | raytrans(r); /* hide our proxy */ | |
625 | return(1); | |
626 | } | |
627 | + | if (hasthick && r->crtype & SHADOW) /* early shadow check #1 */ |
628 | + | return(1); |
629 | nd.mp = m; | |
630 | nd.pr = r; | |
631 | /* get BSDF data */ | |
632 | nd.sd = loadBSDF(m->oargs.sarg[hasthick]); | |
633 | < | /* early shadow check */ |
633 | > | /* early shadow check #2 */ |
634 | if (r->crtype & SHADOW && (nd.sd->tf == NULL) & (nd.sd->tb == NULL)) | |
635 | return(1); | |
636 | /* diffuse reflectance */ |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |