Skip to content

tfFlood

The tfFlood operator floods a domain on your terrain.

Alternatively, it can be used to clip the height of terrains, cutting off mountain tops (see Invert parameter below).

tfflood001.PNG

tfFlood operator applied to the terrain on the right.


Untitled

tfFlood, Properties tab options menu.

This setting controls the flood height.

Flooding will only occur in areas below this setting.

This function can also be achieved by manually lifting the Y-axis in the viewport.

tfflood003altitude.PNG

On the left, the Altitude setting is the default 10cm, raised to 65cm on the right-hand terrain.

Enabling this parameter, will clip the terrain height, instead of filling up (flooding) valleys, to the setting in the Altitude parameter.

Again, this can be done manually in the viewport.

tfflood002inverted.PNG

Invert has been enabled on the right-hand terrain, in order to clip the mountain.


Checking this box will place a vertex map tag on tfTerrain in the Objects Manager.

Increasing this slider will smooth out the vertex map.

tfflood004vertexmap.PNG

In this image we have two tfFlood vertex maps. The left terrain is set at the default and the right has been smoothed, using the Smooth Mask, to a value of 30.

Clicking on this button will automatically create a material layer, utilizing the flood mask.

This will be assigned to the terrain and will contain an Advanced Terrain Shader with a minimal layer setup.

For further information on detailed customization, see the Advanced Terrain Shader page, at the link below.

Advanced Terrain Shader

tfflood005floodedmaterial.PNG

Add Flooded Layer has been activated here, with the material options in the Advanced Terrain Shader.