175686f2868256aa4c1b26db838a6974a5cfca36
The issue here is that the automatic bump shader in OSL adjusts globals.N, which is used to define each closure's shading normal, but sd->N remains as it was (unlike SVM, which sets it from svm_node_set_normal). This is a problem since some code like the shadow terminator stuff uses sd->N, so to make behavior consistent the fix is to set it from OSL as well. Pull Request: https://projects.blender.org/blender/blender/pulls/138092
…
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%
