Stabilizer angle (Water Overlay)
|STABILIZER_ANGLE||angle (0-90°)||A partly flooded cell (especially at the edges of waterways) can become unstable when the angles in X and Y direction are too far apart. In this case the fluxes in U and V cannot easily be resolved mathematically while preserving balance. To prevent unrealistic fluxes from appearing, only the flux in the primary direction will be preserved. A stabilizer angle of zero means that all cells can be considered partly flooded cells, while an angle of 90 degrees will disable the stabilizer.||10|
A cell is partly flooded and stabilizing when:
- The predicted water height at one edge is zero and the water in that direction is flowing away from that edge. The predicted water height is the predicted water level minus the terrain height at that edge.
- In case water in the cell is flowing in the direction of the dry edge, the cell will not be partially flooded and it will not try to stabilize its water level with the neighboring cell where the water comes from.