Hi - I'm trying to achieve a subtract operation between two meshes using the stencil buffer. The example in the Unity manual for the stencil buffer is quite close to what I want to achieve. The code is at the end of https://docs.unity3d.com/Manual/SL-Stencil.html
The issue is that I cannot "see" through the cut mesh. Here's an example shot
![alt text][1]
[1]: /storage/temp/174501-example-view.png
Everything is working except being able to "see" the sphere. I've tried to cull backfaces in the surface shader code linked above, but haven't had any luck. Thanks in advance!
↧