Blender Git Commit Log
Git Commits -> Revision 38084d7
Revision 38084d7 by Charlie Jolly (temp-gpu-image-engine) December 15, 2021, 13:37 (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: 38084d7df134a23e737a00c3feaa2003ade0a251
Parent Commit: 2a31772
Committed By: Jeroen Bakker
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)