Blender Git Commit Log
Git Commits -> Revision 5b61737
Revision 5b61737 by Charlie Jolly (master) December 14, 2021, 18:27 (GMT) |
Nodes: Add vector support to Map Range node This replaces lost functionality from the old GN Attribute Map Range node. This also adds vector support to the shader version of the node. Notes: This breaks forward compatibility as this node now uses data storage. Reviewed By: HooglyBoogly, brecht Differential Revision: https://developer.blender.org/D12760 |
Commit Details:
Full Hash: 5b61737a8f41688699fd1d711a25b7cea86d1530
Parent Commit: 44232a2
Lines Changed: +771, -68
1 Added Path:
/intern/cycles/kernel/osl/shaders/node_vector_map_range.osl (+74, -0) (View)
13 Modified Paths:
/intern/cycles/blender/shader.cpp (+13, -4) (Diff)
/intern/cycles/kernel/osl/shaders/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/svm/map_range.h (+74, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+3, -0) (Diff)
/intern/cycles/kernel/svm/types.h (+1, -0) (Diff)
/intern/cycles/scene/shader_nodes.cpp (+67, -0) (Diff)
/intern/cycles/scene/shader_nodes.h (+15, -0) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+16, -0) (Diff)
/source/blender/editors/space_node/drawnode.cc (+1, -0) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_map_range.glsl (+143, -4) (Diff)
/source/blender/makesdna/DNA_node_types.h (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+16, -2) (Diff)
/source/blender/nodes/shader/nodes/node_shader_map_range.cc (+337, -58) (Diff)
/intern/cycles/kernel/osl/shaders/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/svm/map_range.h (+74, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+3, -0) (Diff)
/intern/cycles/kernel/svm/types.h (+1, -0) (Diff)
/intern/cycles/scene/shader_nodes.cpp (+67, -0) (Diff)
/intern/cycles/scene/shader_nodes.h (+15, -0) (Diff)
/source/blender/blenloader/intern/versioning_300.c (+16, -0) (Diff)
/source/blender/editors/space_node/drawnode.cc (+1, -0) (Diff)
/source/blender/gpu/shaders/material/gpu_shader_material_map_range.glsl (+143, -4) (Diff)
/source/blender/makesdna/DNA_node_types.h (+10, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+16, -2) (Diff)
/source/blender/nodes/shader/nodes/node_shader_map_range.cc (+337, -58) (Diff)