sdf_solids_fill.computeShader
- README.md483 B
- bindings.yaml131 B
- shader.wgsl2.5 KB
This package holds more than this page lists. See all of its files in its world.
README.md
sdf_solids_fill
Fills a volume with signed-distance solids. One invocation per voxel.
The fill shader of the sdf_solids 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 |