Blender Git Loki

Git Commits -> Revision 71641ab

Revision 71641ab by Omar Emara (master)
August 13, 2019, 14:38 (GMT)
Shading: Add Map Range node to Cycles and EEVEE.

This patch adds a new Map Range node that linearly remaps an input
value from a range to another. This node is similar to the compositor's
Map Range node.

Reviewers: brecht, JacquesLucke

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

Commit Details:

Full Hash: 71641ab56d0f0cb52c301b83ff499699029fa032
Parent Commit: aef08fd
Lines Changed: +244, -0

3 Added Paths:

/intern/cycles/kernel/shaders/node_map_range.osl (+25, -0) (View)
/intern/cycles/kernel/svm/svm_map_range.h (+54, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_map_range.c (+58, -0) (View)

14 Modified Paths:

/intern/cycles/blender/blender_shader.cpp (+3, -0) (Diff)
/intern/cycles/kernel/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/shaders/CMakeLists.txt (+1, -0) (Diff)
/intern/cycles/kernel/svm/svm.h (+4, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+1, -0) (Diff)
/intern/cycles/render/nodes.cpp (+69, -0) (Diff)
/intern/cycles/render/nodes.h (+11, -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/gpu/shaders/gpu_shader_material.glsl (+11, -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)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021