Login  Register

Changing gl.glViewport() causes TextRenderer to stretch and resize text.

Posted by Schred on Feb 19, 2020; 5:20pm
URL: https://forum.jogamp.org/Changing-gl-glViewport-causes-TextRenderer-to-stretch-and-resize-text-tp4040374.html

Based off of this post about masking, I am using gl.glViewport() to do so.

However, now the TextRenderer displays text relative to the viewport. Meaning it gets stretched out and continuously smaller, which is not what I want. I Included an image of what I mean. Is there a way to fix this?