Blender Git Loki
Git Commits -> Revision a5ed075
Revision a5ed075 by Kévin Dietrich (master) June 28, 2021, 17:09 (GMT) |
Fix T87194: custom attributes not accessible with Cycles Volume Custom properties defined on objects are not accessible from the attribute node when rendering a volume in Cycles. This is because this case is not handled. To handle it, added a primitive type for volumes in the kernel, which is then used in the initialization of ShaderData and to check whether an attribute lookup is for a volume. `volume_attribute_float4` is also now checking the attribute element type to dispatch to the right lookup function. Reviewed By: #cycles, brecht Maniphest Tasks: T87194 Differential Revision: https://developer.blender.org/D11728 |
Commit Details:
Full Hash: a5ed075110031792212a7f6b8a171242a3f428e8
Parent Commit: afb1755
Lines Changed: +23, -11