- Copy
Assets/Cross Section Shaderfolder into your unity project - Alternatively, you can install everything you need using the
CrossSection.unitypackagefile from the repository
- Binary partitioning using single plane
- Hatching
- Lots of color settings
- Fog support
- Overlapping geometry support
- Standart light model
To use this shader, you need to create a material that uses this shader. You also need to specify the plane parameters for the shader. This can be done using the SlicePlane script, specifying the desired plane and materials in it.
Tip
Check out the Example Scene for an example of how to use it.

