Skip to content
Lachlan McDonald edited this page May 11, 2022 · 21 revisions

The flood and flood2 shaders adds a number of layers of voxels, of the selected color, upwards from the bottom of the volume. Voxels are only added to empty space and won't replace existing voxels.

flood2 is similar to flood, except flooding stops when a voxel is encountered so that exclosed spaces aren't filled.

Parameters

Parameter Description
Height Height of the flood

Shaders

Example of the flood shader Example of the flood2 shader
flood flood2

Examples

Original Using flood to submerge models in water using a glass material Using flood to engulf in fog using cloud materials

Download

View the shaders below or download the latest release:

Clone this wiki locally