@pixi/3d
    Preparing search index...

    Type Alias ShadowFilter

    ShadowFilter: "hard" | "pcf" | "pcf-high"

    How soft shadow edges are

    A wider filter softens the edges and costs more texture reads per shadowed pixel:

    • 'hard': one read; the crispest, cheapest edge, and the friendliest to mobile.
    • 'pcf': four reads; smooth edges at low cost. The default.
    • 'pcf-high': nine reads; the widest, softest edge, for higher-end devices.

    On most GPUs each read blends four neighbouring texels, so even 'hard' has a slightly soft edge. Set per view through View3D#shadowFilter.

    view3d.shadowFilter = 'pcf-high';