Blender Git Commit Log

Git Commits -> Revision 313b789

Revision 313b789 by Omar Emara (master)
August 13, 2019, 20:22 (GMT)
Shading: Add Clamp node to Cycles and EEVEE.

This patch adds a new node that clamps a value between a maximum and
a minimum values.

Reviewers: brecht

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

Commit Details:

Full Hash: 313b78928970a82ab547b07f21f04fc032491ca1
Parent Commit: 42798a5
Lines Changed: +200, -3

3 Added Paths:

/intern/cycles/kernel/shaders/node_clamp.osl (+23, -0) (View)
/intern/cycles/kernel/svm/svm_clamp.h (+41, -0) (View)
/source/blender/nodes/shader/nodes/node_shader_clamp.c (+56, -0) (View)

15 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 (+50, -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 (+2, -2) (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_math.c (+1, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021