hex-world
    Preparing search index...

    Function setScatterTextureEnabled

    • Switch the mottling off or on without disturbing its styling — the shader branches out entirely when off, giving back the flat colour the material had before, and a toggle round-trips because the strength is never zeroed.

      Parameters

      • material: Material
      • enabled: boolean

      Returns void