• Creates a material for isolation mode.

    • Non-visible items: Completely excluded from rendering by pushing them out of view.
    • Visible items: Rendered with flat shading and basic pseudo-lighting.
    • Object coloring: Supports both instance-based and vertex-based coloring for visible objects.

    This material is optimized for both instanced and merged meshes, with support for clipping planes.

    Returns ShaderMaterial

    A custom shader material for isolation mode.