WaterFlowCycleDuration Property |
Namespace: DigitalRune.Graphics
Flow animation is usually created by moving a normal map layer over the water plane. If different pixels move the water plane in different directions, the normal map gets distorted. Therefore, the animation has to alternate between two normal map layers. Each normal map layer is moved and reset while the other normal map is visible. CycleDuration defines how long each normal map layer is shown before it is reset. Too short cycle times can create an unwanted "pulsing" effect. Too long cycle times can create unwanted visible distortions.