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

    Interface ParticleGradientMap

    A gradient map (colour ramp): the map is recoloured by looking its channel up along U of ramp. Without a map the lookup reads white, so the ramp's right-hand end tints every particle, in every render mode alike. See VFXBatchSettings.gradientMap.

    interface ParticleGradientMap {
        channel: GradientMapChannel;
        ramp: BaseTexture | null;
    }
    Index

    The texel value the ramp is looked up by. Default 'r'. With 'a' the ramp's alpha becomes the texel's alpha, so a soft shape can glow at its fringe and stay solid at its heart; with any other channel the ramp's alpha multiplies the map's.

    ramp: BaseTexture | null

    The ramp, read along U at mid V: low values on the left. Make it without mipmaps and clamped. Required: without one there is no gradient map.