Distance fade: fading objects pick up the sky's HDR brightness #150
Labels
No labels
amd
avatars
bug
builder
cannot-reproduce
crash
epic
feature
from-viewer
gl-removal
known-limitation
monitoring
parity
perf
platform
priority
critical
priority
high
priority
low
priority
medium
provenance
rendering
rt
status
in-progress
status
testing
status
up-next
triage
ui
upstream
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
sky_line/Slipstream#150
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objects fading out near the draw distance (the distance fog / object fade) blend toward the sky colour, including the sky's HDR scale. Fading objects therefore brighten, and can glow or bloom, instead of simply dissolving into the horizon.
Where
atmosDistanceFadeinindra/vkclean/shaders/clean_atmos_common.glsl:skyColor()returns the sky already multiplied byatmosHdrScale()(see its finalatmosSrgbToLinear(color.rgb) * atmosHdrScale()), so a fading object is mixed toward an HDR-boosted value.Fix direction
applyWaterFog).