Ross_S
1
Hey all,
I’m converting an iPhone game into Unity - and I’m not quite sure how to get something like GLScissor working?
I’m drawing a bunch of gameObjects (it’s all 2d) and i want them to be clipped to a rectangle.
Anybody know the easiest way to do this in Unity?
Thanks,
Ross
Ross_S
2
ah, actually i found the answer to this after posting - for anybody else that needs it →
http://forum.unity3d.com/threads/37612-Scissor-rectangle
you have to render what you want to clip to a specific camera and perform the scissor on that camera -