Volume rendering by object space raymarching for Unity
Switch branches/tags
Nothing to show
Clone or download
Latest commit 60a3f70 Sep 3, 2018

README.md

unity-volume-rendering

Volume rendering by object space raymarching for Unity.

VolumeRendering.shader cut a volume each axes by _SliceMin, _SliceMax properties.

Object space raymarching

VolumeRendering component generates a Cube geometry which has 1.0 length edges. By object space raymarching techniques, rendering a volume with a MeshRenderer. (See references)

Slice axes rotation

By setting an axis quaternion in VolumeRendering component, you can cut a volume from arbitrary angles.

VolumeAssetBuilder

VolumeAssetBuilder builds a 3D texture asset from a pvm raw file. (volume raw data)

Compatibility

tested on Unity 2017.3.1, windows10 (GTX 1060).

Sources