Blender Git Loki

Git Commits -> Revision 0aec2dc

Revision 0aec2dc by Brecht Van Lommel (master)
February 23, 2018, 17:57 (GMT)
Cycles: add Principled Volume shader.

Similar to the Principled BSDF, this should make it easier to set up volume
materials. Smoke and fire can be rendererd with just a single principled
volume node, the appropriate attributes will be used when available. The node
also works for simpler homogeneous volumes like water or mist.

Differential Revision: https://developer.blender.org/D3033

Commit Details:

Full Hash: 0aec2dcd3ae0ed382ffe7b3311a4e30fc88398e4
Parent Commit: acd619d
Lines Changed: +456, -102

2 Added Paths:

/intern/cycles/kernel/shaders/node_principled_volume.osl (+94, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_volume_principled.c (+85, -0) (View)

15 Modified Paths:

/intern/cycles/blender/blender_shader.cpp (+16, -0) (Diff)
/intern/cycles/kernel/shaders/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+4, -1) (Diff)
/intern/cycles/kernel/svm/svm_closure.h (+109, -8) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+114, -0) (Diff)
/intern/cycles/render/nodes.h (+19, -0) (Diff)
/release/scripts/startup/bl_operators/object_quick_effects.py (+6, -92) (Diff)
/release/scripts/startup/nodeitems_builtins.py (+1, -0) (Diff)
/source/blender/blenkernel/BKE_node.h (+1, -0) (Diff)
/source/blender/blenkernel/intern/node.c (+1, -0) (Diff)
/source/blender/nodes/CMakeLists.txt (+1, -0) (Diff)
/source/blender/nodes/NOD_shader.h (+1, -0) (Diff)
/source/blender/nodes/NOD_static_types.h (+1, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_volume_scatter.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021