5c25277f6cc5a6676ca48b02385c4fb45acd35f8
This is a continuation of a fix from the last week in #108311. The issue was not fully fixed due to a mistake in the regression test file. There are two major things which left to be fixed since the previous patch: 1. Root nodes can not be shared, even if the local and distant lights belong to the same light set. If the root node is shared then the flattening will use the same node index for specialized trees, which is not a desired behavior. 2. The node type needs to be preserved when a new node is created for a subset of emitters. This is because tree sampling in kernel will handle distant and local lights differently for nodes where there are multiple emitters. Pull Request: https://projects.blender.org/blender/blender/pulls/108427
…
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%
