Log inGet started
Package

emission_raymarch.computeShader

Newest version

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

README.md

emission_raymarch

Marches a camera ray through an emissive volume and writes the result to a 2D target. Emission accumulates along the ray and density attenuates what is behind it, so a volume reads as light rather than as a surface.

Bindings

namekindwhat it is
voltexture3dthe volume marched — RGB emission, A density
smpsamplerhow vol is filtered along the ray
out_texstorage2d (rgba16f)the image the march writes
Ubuffer (read, f32)camera, volume placement and march settings

U carries the inverse view-projection, the volume's world transform, the step count, density and emission gains, and the target's inverse size.