Solid CSG is a depth cut-out shader for Unity. It allows for fast, non-destructive CSG effects, both in the editor and at runtime. Great for making convincing 3D holes on meshes with zero compute.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.FeaturesWorks in both editor and runtimeZero computeFast and dynamic depth effectSupports multiple overlapping volumesNo permanent mesh modificationRuns entirely on the GPUStable on mobile and low-end devicesNo mesh corruption, precision errors, or boolean artifactsShaders are easily customizableEasy setup and documentationNote*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 @ SupportDemo uses 1 white 128px texture Fully shader-basedNo compute shaders required




