Blender Git Loki
Git Commits -> Revision a963c7d
Revision a963c7d by Brecht Van Lommel (master) February 23, 2018, 17:57 (GMT) |
Code refactor: improve attribute handling for optional volume attributes. A volume shader should be able to request attributes, and still be rendered as homogeneous if no volume attributes are available for the object. |
Commit Details:
Full Hash: a963c7d48dade70474ec3b40bea5e99ebdbbc5d4
Parent Commit: 4448ed6
Lines Changed: +126, -41
14 Modified Paths:
/intern/cycles/kernel/kernel_types.h (+9, -3) (Diff)
/intern/cycles/kernel/kernel_volume.h (+14, -1) (Diff)
/intern/cycles/render/attribute.cpp (+27, -5) (Diff)
/intern/cycles/render/attribute.h (+1, -0) (Diff)
/intern/cycles/render/graph.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+21, -31) (Diff)
/intern/cycles/render/nodes.h (+14, -0) (Diff)
/intern/cycles/render/object.cpp (+8, -1) (Diff)
/intern/cycles/render/osl.cpp (+13, -0) (Diff)
/intern/cycles/render/osl.h (+2, -0) (Diff)
/intern/cycles/render/shader.cpp (+3, -0) (Diff)
/intern/cycles/render/shader.h (+1, -0) (Diff)
/intern/cycles/render/svm.cpp (+11, -0) (Diff)
/intern/cycles/render/svm.h (+1, -0) (Diff)
/intern/cycles/kernel/kernel_volume.h (+14, -1) (Diff)
/intern/cycles/render/attribute.cpp (+27, -5) (Diff)
/intern/cycles/render/attribute.h (+1, -0) (Diff)
/intern/cycles/render/graph.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+21, -31) (Diff)
/intern/cycles/render/nodes.h (+14, -0) (Diff)
/intern/cycles/render/object.cpp (+8, -1) (Diff)
/intern/cycles/render/osl.cpp (+13, -0) (Diff)
/intern/cycles/render/osl.h (+2, -0) (Diff)
/intern/cycles/render/shader.cpp (+3, -0) (Diff)
/intern/cycles/render/shader.h (+1, -0) (Diff)
/intern/cycles/render/svm.cpp (+11, -0) (Diff)
/intern/cycles/render/svm.h (+1, -0) (Diff)