diff options
author | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-05-08 00:24:38 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@pandora.be> | 2012-05-08 00:24:38 +0400 |
commit | e6a84eb1b542e7cafe5e760530882bb806f3c433 (patch) | |
tree | e3d7b9f8dab6c2d55ec0d45297ba281599f3e92f /source/blender/nodes/CMakeLists.txt | |
parent | f44e80e6387601dea6e4e0801d0a387455a02d31 (diff) |
Cycles: add light falloff node, with quadratic/linear/constant falloff and a
smoothing factor to reduce high values near the light.
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Nodes/More#Light_Falloff
Note that this was already possible to do manually with the Ray Length, but
this adds a convenient node for it. This commit also makes the mapping node
min/max option work, fixing #31348.
Diffstat (limited to 'source/blender/nodes/CMakeLists.txt')
-rw-r--r-- | source/blender/nodes/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/nodes/CMakeLists.txt b/source/blender/nodes/CMakeLists.txt index 9bcbc91265c..be9dd10b71d 100644 --- a/source/blender/nodes/CMakeLists.txt +++ b/source/blender/nodes/CMakeLists.txt @@ -149,6 +149,7 @@ set(SRC shader/nodes/node_shader_volume_transparent.c shader/nodes/node_shader_volume_isotropic.c shader/nodes/node_shader_light_path.c + shader/nodes/node_shader_light_falloff.c shader/nodes/node_shader_mix_shader.c shader/nodes/node_shader_add_shader.c shader/nodes/node_shader_output_lamp.c |