Log inGet started
Package

nebula_fill.computeShader

Newest version

This package holds more than this page lists. See all of its files in its world.

README.md

nebula_fill

Fills a volume with a spiral nebula: RGB carries emission, A carries density. One invocation per voxel at workgroup size 4x4x4.

The fill shader of the nebula 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

namekindwhat it is
volstorage3d (rgba16f)the volume written, read-write so a pass can accumulate
Ubuffer (read, f32)the demo's fill parameters, in the order the shader reads them

U holds: elapsed time, spiral frequency, arm thickness, core brightness, edge brightness, dust density, noise strength.