bcec81c4be51f72df22dd8300477b5a59a506ff6
In Cycles lights can be given a light falloff node to control their light falloff. This worked by multiplying the light's strength by different combinations of the ray length, which would be FLT_MAX for distant lights. This resulting in almost every configuration of the light falloff node overflowing when used on distant lights, which is undesirable. This commit fixes this issue by ignoring most of the functions of the light falloff node when used on a distant light. And in the process fixes a small discrepancy between SVM and OSL when using the light falloff node on distant lights. Pull Request: https://projects.blender.org/blender/blender/pulls/134539
…
Blender
Blender is the free and open source 3D creation suite. It supports the entirety of the 3D pipeline-modeling, rigging, animation, simulation, rendering, compositing, motion tracking and video editing.
Project Pages
Development
License
Blender as a whole is licensed under the GNU General Public License, Version 3. Individual files may have a different, but compatible license.
See blender.org/about/license for details.
Description
Languages
C++
78%
Python
14.9%
C
2.9%
GLSL
1.9%
CMake
1.2%
Other
0.9%
