Blender Git Loki
Git Commits -> Revision 2ea82e8
Revision 2ea82e8 by Omar Emara (master) September 12, 2019, 15:42 (GMT) |
Shading: Add Vertex Color node. This patch adds a new Vertex Color node. The node also returns the alpha of the vertex color layer as an output. Reviewers: brecht Differential Revision: https://developer.blender.org/D5767 |
Commit Details:
Full Hash: 2ea82e86ca60c1c268c6074ecba10524cebd97ed
Parent Commit: f80018b
Lines Changed: +654, -50
4 Added Paths:
/intern/cycles/kernel/shaders/node_vertex_color.osl (+40, -0) (View)
/intern/cycles/kernel/svm/svm_vertex_color.h (+92, -0) (View)
/source/blender/gpu/shaders/material/gpu_shader_material_vertex_color.glsl (+5, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_vertex_color.c (+58, -0) (View)
/intern/cycles/kernel/svm/svm_vertex_color.h (+92, -0) (View)
/source/blender/gpu/shaders/material/gpu_shader_material_vertex_color.glsl (+5, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_vertex_color.c (+58, -0) (View)
30 Modified Paths:
/intern/cycles/blender/blender_mesh.cpp (+10, -10) (Diff)
/intern/cycles/blender/blender_shader.cpp (+6, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom_patch.h (+7, -7) (Diff)
/intern/cycles/kernel/geom/geom_primitive.h (+21, -0) (Diff)
/intern/cycles/kernel/geom/geom_subd_triangle.h (+104, -20) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+36, -11) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+65, -0) (Diff)
/intern/cycles/kernel/shaders/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+10, -0) (Diff)
/intern/cycles/kernel/svm/svm_attribute.h (+29, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+4, -0) (Diff)
/intern/cycles/render/attribute.cpp (+2, -1) (Diff)
/intern/cycles/render/mesh.cpp (+10, -0) (Diff)
/intern/cycles/render/nodes.cpp (+58, -0) (Diff)
/intern/cycles/render/nodes.h (+16, -0) (Diff)
/intern/cycles/util/util_color.h (+18, -0) (Diff)
/intern/cycles/util/util_param.h (+5, -0) (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/editors/space_node/drawnode.c (+15, -0) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+10, -1) (Diff)
/source/blender/gpu/intern/gpu_material_library.h (+7, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+13, -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)
/intern/cycles/blender/blender_shader.cpp (+6, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/geom/geom_patch.h (+7, -7) (Diff)
/intern/cycles/kernel/geom/geom_primitive.h (+21, -0) (Diff)
/intern/cycles/kernel/geom/geom_subd_triangle.h (+104, -20) (Diff)
/intern/cycles/kernel/geom/geom_triangle.h (+36, -11) (Diff)
/intern/cycles/kernel/osl/osl_services.cpp (+65, -0) (Diff)
/intern/cycles/kernel/shaders/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+10, -0) (Diff)
/intern/cycles/kernel/svm/svm_attribute.h (+29, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+4, -0) (Diff)
/intern/cycles/render/attribute.cpp (+2, -1) (Diff)
/intern/cycles/render/mesh.cpp (+10, -0) (Diff)
/intern/cycles/render/nodes.cpp (+58, -0) (Diff)
/intern/cycles/render/nodes.h (+16, -0) (Diff)
/intern/cycles/util/util_color.h (+18, -0) (Diff)
/intern/cycles/util/util_param.h (+5, -0) (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/editors/space_node/drawnode.c (+15, -0) (Diff)
/source/blender/gpu/CMakeLists.txt (+1, -0) (Diff)
/source/blender/gpu/intern/gpu_codegen.c (+10, -1) (Diff)
/source/blender/gpu/intern/gpu_material_library.h (+7, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+13, -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)