hex-world
    Preparing search index...

    Function freezeUniforms

    • Builds the freeze uniforms for a liquid material. freezePoint is the season-adjusted temperature at or below which this liquid turns solid, on the same 0–1 scale the temperature field uses; undefined means it never freezes, which is what lava and acid want.

      Parameters

      • OptionalfreezePoint: number
      • freezeBand: number = 0.06

      Returns Record<string, THREE.IUniform>