Solid CSG uses a stencil-based rendering approach to create the illusion of depth cut-outs, without making any permanent changes to your meshes.
Because everything is handled on the GPU, it is fast for procedural and dynamically changing depth effects.
Create depth cut-outs without the performance costs of real CSG or mesh booleans.
Handles cross-sectional intersections and overlaps unlike regular see-through shaders on the asset store.
Features
- Works in both editor and runtime
- Zero compute
- Fast and dynamic depth effect
- Supports multiple overlapping volumes
- No permanent mesh modification
- Runs entirely on the GPU
- Stable on mobile and low-end devices
- No mesh corruption, precision errors, or boolean artifacts
- Shaders are easily customizable
- Easy setup and documentation
Note*
- Uses a multi-pass stencil setup as required by the effect.
- Designed for visual depth, not physical geometry changes.
- Demo was made with combination of simple shapes; cube, spheres, cylinders, and prisms.
- Some overlaps may require more shader passes. This package tries to keep things simple.
If you want to find out more, please reach out @ Support