Blender Git Loki
Git Commits -> Revision a3c13fa
Revision a3c13fa by Sergey Sharybin (master) January 30, 2015, 09:00 (GMT) |
Cycles: Remove confusing labels usage in hair BSDF BSDF sampler function shouldn't give labels it's not intended to do. That said reflection shouldn't give transmission ray and transmission give reflection ray. Added an assert in the transmission sampling but reflection still needs some investigation because even after recent fixes the check for projection onto the reflected ray could give both positive and negative values. It shouldn't have any affect on renders just makes internal logic consistent and unleashes an issue to be investigate further. |
Commit Details:
Full Hash: a3c13fa9e80fdb0334c9fb0fb8ba771c9862ebb9
Parent Commit: bd10b72
Lines Changed: +2, -7
1 Modified Path:
/intern/cycles/kernel/closure/bsdf_hair.h (+2, -7) (Diff)