Hi there,
I’m trying to get clipping on a per-mesh basis, but it doesn’t appear to be working. Am I doing something wrong? I attempted to follow the approach outlined in the docs, but to no avail.
Here’s an example of what I’m trying to do:
(I expect both boxes to be halved, but only one is)
I’d also like to know if clipping will work with meshes using a custom shader.
Any help would be much appreciated 
Welcome aboard!
It does not work because both boxes are using the same default material and you would need to reset the material cache before drawing box B so that the updated clip plane is taken into account:
However, it is a bit inefficient. Instead, you should create a different material for box A and B and it will work out of the box:
1 Like
Thank-you so much! I thought I was overlooking something obvious.