Log inGet started
Package

volume_march.shaderModule

Newest version

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

README.md

volume_march

The volume march volume_raymarch and volume_draw share: the VolumeUniforms layout, the lookup of a point in a dense texture or a paged volume's brick pool, the empty-space skip through the occupancy grid or page table, and volume_march(ro, dir, t_enter, t_exit, pix), which marches a ray front to back and returns premultiplied colour in rgb and accumulated alpha in a. The last step ends at t_exit, so a march cut short by a surface stops where the surface stands.

The including shader binds volume and occupancy (texture3d), volume_smp (sampler) and U (one VolumeUniforms).