Vulkan: clouds are not rendered (cloud layer missing) #156
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#156
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?
Reported as "not sure clouds are drawing". A code check confirms it: the Vulkan renderer has no cloud layer at all.
indra/vkclean/shaders/has no cloud shader.clean_sky.fragdraws the atmosphere, sun, moon, stars, aurora and meteors, but no clouds.cloud_shadow(atmos[2].w, inclean_atmos_common.glsl). It darkens the sky haze and dims sunlight, but doesn't draw anything.llcleanrenderervk.cpp/ theLLVKWorldFrameatmos block carry none of the EEP cloud settings (cloud colour, density, scale, scroll/position, variance, texture).In GL, LL draws clouds as a separate dome pass (
cloudsV/F.glsl,LLDrawPoolWLSky::renderSkyClouds). It uses the sky's cloud noise texture (getCloudNoiseTextureId) and the EEP parameterscloud_color,cloud_pos_density1/2,cloud_scale,cloud_scroll_rate,cloud_varianceandcloud_shadow.Work
atmosor add acloudsblock), with the scroll offset advanced per frame.clean_sky.frag(ray to the dome, sample the noise the way LL'scloudsFdoes), composited over the atmosphere and under the sun/moon discs the way LL orders them.clean_probe_sky.frag) so reflections match.RenderCloudsEnable-style settings and the EEP editor's cloud tab drive it live.Compare against the GL viewer on the same sky (Midday, plus a heavy-cloud EEP preset).