Blender Git Loki
Git Commits -> Revision 0551aa1
Revision 0551aa1 by Lukas Toenne (master) October 17, 2012, 12:12 (GMT) |
Fix for OSL 'background' attributes (attributes that are not associated to a particular object). Atm this is only the 'ray_length' attribute. Background attributes are used as fallback in two cases: 1) Non-object light samples (e.g. lamp shaders) 2) Fallback if no implicit object attribute can be found |
Commit Details:
Full Hash: 0551aa14bb2e58e79200823cde6d71c2288ca7fa
SVN Revision: 51382
Parent Commit: 45dc979
Lines Changed: +15, -4
1 Modified Path:
/intern/cycles/kernel/osl/osl_services.cpp (+15, -4) (Diff)