babylon.quarks - v1.0.0
    Preparing search index...

    Type Alias MeshLighting

    MeshLighting: "unlit" | "fixed" | "scene"

    How mesh particles are lit.

    • 'fixed' (default): one directional light plus ambient, the same for every mesh batch of a renderer, set with BatchedRenderer.setMeshLighting.
    • 'unlit': no lighting term — the texture times the particle colour, for emissive meshes (fire, energy, glowing blades).
    • 'scene': follows the scene's first enabled DirectionalLight or HemisphericLight every frame, falling back to the fixed light when there is none.

    Only mesh particles are lit; other render modes ignore it.