Login  Register

Re: How to stop drawing outside of area (masking)?

Posted by Schred on Feb 12, 2020; 7:13pm
URL: https://forum.jogamp.org/How-to-stop-drawing-outside-of-area-masking-tp4040357p4040364.html

Thanks, I got it now working with gl.glViewport()! One minor inconvenience is that TextRenderer now adjusts the size of the text according to the new viewport, meaning that the smaller the viewport is, the smaller the text is. Maybe I'll figure something out.