Blender Git Commit Log
Git Commits -> Revision 30bffb5
Revision 30bffb5 by Charlie Jolly (master) July 13, 2018, 09:00 (GMT) |
Nodes: add sqrt, ceil, floor and fract to math nodes. This works for Cycles, Eevee, texture nodes and compositing. It helps to reduce the number of math nodes required in various node setups. Differential Revision: https://developer.blender.org/D3537 |
Commit Details:
Full Hash: 30bffb5a3afa2fde165d4fb63a115310d5ddc3e3
Parent Commit: f4213c1
Committed By: Brecht Van Lommel
Lines Changed: +222, -1
12 Modified Paths:
/intern/cycles/kernel/shaders/node_math.osl (+20, -0) (Diff)
/intern/cycles/kernel/svm/svm_math_util.h (+8, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+4, -0) (Diff)
/intern/cycles/render/nodes.cpp (+4, -0) (Diff)
/source/blender/compositor/nodes/COM_MathNode.cpp (+12, -0) (Diff)
/source/blender/compositor/operations/COM_MathBaseOperation.cpp (+47, -0) (Diff)
/source/blender/compositor/operations/COM_MathBaseOperation.h (+24, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+23, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+4, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_math.c (+45, -1) (Diff)
/source/blender/nodes/texture/nodes/node_texture_math.c (+27, -0) (Diff)
/intern/cycles/kernel/svm/svm_math_util.h (+8, -0) (Diff)
/intern/cycles/kernel/svm/svm_types.h (+4, -0) (Diff)
/intern/cycles/render/nodes.cpp (+4, -0) (Diff)
/source/blender/compositor/nodes/COM_MathNode.cpp (+12, -0) (Diff)
/source/blender/compositor/operations/COM_MathBaseOperation.cpp (+47, -0) (Diff)
/source/blender/compositor/operations/COM_MathBaseOperation.h (+24, -0) (Diff)
/source/blender/gpu/shaders/gpu_shader_material.glsl (+23, -0) (Diff)
/source/blender/makesdna/DNA_node_types.h (+4, -0) (Diff)
/source/blender/makesrna/intern/rna_nodetree.c (+4, -0) (Diff)
/source/blender/nodes/shader/nodes/node_shader_math.c (+45, -1) (Diff)
/source/blender/nodes/texture/nodes/node_texture_math.c (+27, -0) (Diff)