Threshold values for Wave Sources

Issue #22 on hold
Laurens Mathot created an issue

Drains that only remove water above a certain threshold. Sources that only add water below a certain threshold.

Would allow drains to be more subtle, not draining water to the bottom, although it might still remove all waves in that area, flattening the surfaces. Ideally it would be an effect that would activate over time (although that might be tricky/needlessly expensive in GPU world), like synthesizers have attack, decay sustain release.

Perhaps it's better to think of what would happen with real life spillways, or intakes.

Comments (1)

  1. Laurens Mathot reporter

    Cool feature, but implementation is non-trivial. To have this happen per source, the wave sources need to sample the water height data.

    I would prefer working on this after the Compute version of the Shader is available again.

  2. Log in to comment