This repository is for the legacy Mixed Reality Toolkit (MRTK) v2. For the latest version of the MRTK please visit https://github.com/MixedRealityToolkit/MixedRealityToolkit-Unity
This scene shows how the MRTK/Standard shader in conjunction with clipping primitives (ClippingPlane, ClippingSphere, & ClippingBox) can be used to dynamically clip pixels on meshes instanced on the GPU. This method allows for significantly more clipped meshes by enabling automatic batching across all renderers that share the same material even if they interact with different clipping primitives.
Additional Context
MRTK/Standard shader replaced by GraphicsTools shader
Hi, is it possible to use custom "ClippingMesh" somehow? Like currently it only support plane, sphere and box, it would be great if it support custom mesh shape clipping.
This issue has been migrated a new MRTK repository, and the status of this issue will now be tracked at the following location:
MRTK2 Scene Name
ClippingInstancedExamples
Overview
This scene shows how the MRTK/Standard shader in conjunction with clipping primitives (ClippingPlane, ClippingSphere, & ClippingBox) can be used to dynamically clip pixels on meshes instanced on the GPU. This method allows for significantly more clipped meshes by enabling automatic batching across all renderers that share the same material even if they interact with different clipping primitives.
Additional Context
MRTK/Standard shader replaced by GraphicsTools shader