Builtin Library
- ..
- README.md614 B
- bindings.yaml447 B
- shader.wgsl1.2 KB
README.md
cloud_layer_surfaces
The cloud layer over the surfaces. Writes each cell of the layer whose scene
pixel a surface stands on, by the frame's depth once the transparent phase has
drawn (@scene.depth, the sea's included), and nothing in the cells over sky.
cloud_layer_composite lays what it writes over the frame at the head of the
medium stage; the sky's cells were laid before the transparent phase.
Bindings (see bindings.yaml): layer (texture2d, the accumulated layer),
scene_depth (texture_depth, @scene.depth), out_tex (storage2d rgba16f, the
size of the layer; the dispatch grid covers it).