threejs-worldgen
    Preparing search index...

    Function createVehicleUniforms

    • Creates the live uniforms shared by a fleet's vehicle material (exported so the type is documented).

      Returns { crumple: UniformNode<"float", number>; lights: UniformNode<"float", number> }

      • crumple: UniformNode<"float", number>

        Dent depth at full damage, metres.

      • lights: UniformNode<"float", number>

        Headlights and lit windows, 0…1.