Node Wrangler: add back exposure compensation for Preview Node #105136

Open
Damien Picard wants to merge 4 commits from pioverfour/blender-addons:dp_nw_exposure_compensation into main

When changing the target branch, be careful to rebase the branch in your fork to match. See documentation.

4 Commits

Author SHA1 Message Date
Damien Picard 83f1bc2302 Merge branch 'main' into dp_nw_exposure_compensation 2024-02-03 15:30:46 +01:00
Damien Picard 6268ab0ce8 Avoid divide by zero error 2024-01-17 18:42:19 +01:00
Damien Picard f6a9afce41 Bump NW version 2024-01-17 18:21:59 +01:00
Damien Picard ff9e38f1e8 Fix #105065: NW: add back exposure compensation for Preview Node
Exposure compensation was a useful feature for better previewing
colors when scene exposure was not neutral. It was removed in
4bf15a06f3 - [D15350](https://archive.blender.org/developer/D15350)
after any socket could be connected to the shader output.

This commit reintroduce this feature, but makes it disabled by default
as this workflow is not always wanted. In the case of an NPR scene
where every material is emissive so there are no actual lighting
calculations, the user may want to use the preview feature to quickly
select a texture without having it exposure-compensated.
2024-01-17 18:13:11 +01:00