Original Post
im writting some UI Code, but i keep running in to the problem of how to clip stuff so they arent rendered outside of some bounds (such as a box of sphere or some arbitary shape). I've been thinking of using render to texture, render the child windows to a texture, then use the render to render inside the parent window. This seems a bit over the top and was wondering if there was a simpler solution?