Flow#

Overview#

Flow is the horizontal motion of the water volume. It does not affect wave directions, but transports the waves horizontally. This horizontal motion also affects physics. Furthermore, flow also affects foam, normals and caustics.

This can be used to simulate water currents and other waterflow.

User Inputs#

Crest supports adding any flow velocities to the system. The Flow Input supports the following modes:

Spline#

Flow will be generated along the spline direction. Reverse the spline if going in the wrong direction. The velocity of the flow can be adjusted per point with the Spline Point Flow Data.

See Spline Mode for more.

Texture#

Writes a flow texture (ie flow map) into the system. It expects the XZ velocity to be packed into the RG components respectively. Furthermore if Normalized is enabled then it expects the values to be in the 0-1 range where 0.5 is zero velocity.

See Texture Mode for more.

Renderer#

The following input shaders are provided under Crest/Inputs/Flow:

  • Add Flow Map - The same as Texture except with more options.

  • Fixed Direction - Adds flow in a fixed direction for the entire input.

See Renderer Mode for more.