You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PhysicalSkyMaterial and ProceduralSkyMaterial debanding doesn't take autoexposure into account (to adjust the debanding filter). This causes the sky to become visibly grainy when autoexposure decreases its exposure for dark scenes:
Sky debanding enabled
Sky debanding disabled
Viewport debanding doesn't have this issue in comparison.
This occurs both with CameraAttributesPractical and CameraAttributesPhysical, with and without physical light units.
As a workaround, disable Use Debanding in the PhysicalSkyMaterial or ProceduralSkyMaterial in the Environment, then enable Rendering > Anti Aliasing > Quality > Use Debanding in the advanced Project Settings.
This should likely be fixed by exposing exposure as a global to sky shaders, then multiplying the strength of the debanding effect by exposure.
Steps to reproduce
Create a new project with a WorldEnvironment copied from the default environment.
Add a CameraAttributesPractical to the WorldEnvironment. Enable Auto Exposure in this CameraAttributesPractical resource.
Decrease Background > Energy Multiplier to 0.01 in the Environment resource.
Notice the dithering pattern becoming visible on the sky.
Godot version
4.0.rc6
System information
Fedora 37, GeForce RTX 4090 (NVIDIA 525.85.05)
Issue description
PhysicalSkyMaterial and ProceduralSkyMaterial debanding doesn't take autoexposure into account (to adjust the debanding filter). This causes the sky to become visibly grainy when autoexposure decreases its exposure for dark scenes:
Sky debanding enabled
Sky debanding disabled
Viewport debanding doesn't have this issue in comparison.
This occurs both with CameraAttributesPractical and CameraAttributesPhysical, with and without physical light units.
As a workaround, disable Use Debanding in the PhysicalSkyMaterial or ProceduralSkyMaterial in the Environment, then enable Rendering > Anti Aliasing > Quality > Use Debanding in the advanced Project Settings.
This should likely be fixed by exposing exposure as a global to sky shaders, then multiplying the strength of the debanding effect by exposure.
Steps to reproduce
0.01
in the Environment resource.Minimal reproduction project
test_sky_debanding_auto_exposure.zip
The text was updated successfully, but these errors were encountered: