Is there an easy way to do this with normal sprites or spine scenes in game objects?
Not a straight forward way perhaps, but you can do it in the render script using the stencil buffer. That’s how it’s implemented in the GUI (similar to this). You need to draw the clippers into the stencil buffer with a specific value, and test for that value when you draw the other stuff to be clipped. There is a ton of info on tricks you can do with stencil buffers online.
2 Likes
Can someone provide an example of clipping non-gui in render script?