godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91.36k stars 21.25k forks source link

SDFGI Skylight Won't Respect Camera Attribute Exposure #74899

Open WickedInsignia opened 1 year ago

WickedInsignia commented 1 year ago

Godot version

4.0 Stable

System information

Windows 11, Nvidia RTX4070ti, AMD Ryzen7700x

Issue description

SDFGI will not respect exposure regarding skylight influence. When adjusting exposure via Camera Attributes, SDFGI lighting will adjust to the same average amount upon movement of the viewport. This happens regardless of arbitrary or physical light units, and occurs with all exposure settings in both types of Camera Attributes. This also happens when adjusting the brightness of the skylight via any setting in the Environment node. Here are various ISO exposures in a scene using physical light units: Godot4SDFGIExposure_ISO1 Godot4SDFGIExposure_ISO100 Godot4SDFGIExposure_ISO400

Steps to reproduce

Load MPR, adjust ISO and then move the viewport. SDFGI should update to the same average brightness regardless of exposure.

Minimal reproduction project

SDFGI Sky Exposure.zip

Calinou commented 1 year ago
Jamsers commented 1 year ago

Ran into this issue in Bistro-Demo-Tweaked. Here's another MRP for testing: SDFGI-exposure.zip

https://github.com/godotengine/godot/assets/39361911/f56e1218-555c-43f9-805a-b1b1827cbf23