Builtin Library
- ..
- README.md801 B
- bindings.yaml784 B
- shader.wgsl1.5 KB
README.md
cloud_shadow_recall
Reads what the cloud layer's shadow map the view being drawn wrote on its
previous render was written for (its record, three texels of a history target)
into a buffer cloud_shadow_carry and cloud_shadow_map read next, with the
step of the refresh this render takes: the one after the previous render's,
round the block * block steps of cloud_shadow_slice. A view whose previous
render left no map to carry (its first render, a cut, a map made at another
size) recalls none: the first word reads 0, and the refresh starts at its
first step.
Includes
cloud_shadow_space
Bindings
| name | kind |
|---|---|
record_prev | texture2d |
record_state | buffer |
lines_state | buffer |
cloud_shadow | buffer |
recalled | buffer |