godrays_fill.computeShader
- README.md468 B
- bindings.yaml131 B
- shader.wgsl4.9 KB
This package holds more than this page lists. See all of its files in its world.
README.md
godrays_fill
Fills a volume with shafted light. One invocation per voxel.
The fill shader of the godrays demo scene. A volume like it in a world is a
Volume component on an entity, its texture built by the volume module or a
fill of your own.
Bindings
| name | kind | what it is |
|---|---|---|
vol | storage3d (rgba16f) | the volume written — RGB emission, A density |
U | buffer (read, f32) | the demo's fill parameters |