hex-world
    Preparing search index...

    Function seasonBindingUniforms

    • The climate-lookup uniforms for a stock material, created on first use and shared by every seasonal effect attached to it.

      Shared by identity, not by value: snow and the foliage tint hand three.js the same uSeasonEnabled object, so configureSeason writing it once reaches both. Two independently-built sets would collide in shader.uniforms and one of them would end up bound to nothing.

      Parameters

      • material: Material

      Returns Record<string, THREE.IUniform>