• Creates a material for the ghost effect in isolation mode.

    • Non-visible items: Rendered as transparent objects using a customizable fill color.
    • Visible items: Completely excluded from rendering.
    • Designed for use with instanced or merged meshes.
    • Includes clipping plane support, vertex colors, and transparency.

    Returns ShaderMaterial

    A custom shader material for the ghost effect.