hex-world
    Preparing search index...

    Function createWaterfallFoamMaterial

    • The churning foam pool at the foot of a waterfall — drawn over the receiving channel by buildWaterfallFoamGeometry's elliptical fan, fading to nothing at the rim so it blends into the river rather than stamping a disc on it. Honours the same descriptor appearance fields as the other liquid layers, so foamIntensity: 0 turns it off and lava's slow flowSpeed makes its pool churn as sluggishly as its surface.

      Parameters

      Returns ShaderMaterial