4ca207a145d514bb000c91caadeeea44f01732d3
The `ZDepth` output of the camera data node was different between SVM and OSL. SVM would output the `ZDepth`, with negative distances for points behind the camera. While OSL would output the absolute of the distance, which resulted in points behind the camera becoming positive. Align OSL to SVM and allow outputting the negative distance as it allows users to differentiate between what's in front or behind the camera. Pull Request: https://projects.blender.org/blender/blender/pulls/132837
…
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%
