I want to render into a texture, which is larger than my current viewport. I use the fboClass and create an FBO for that purpose. What I would like to do is setting the viewport to according to the texture dimensions (512x512). However, I only get correct results, when setting the viewport according to my current canvas resolution (640x480). As a consequence I cannot render to the whole y-extend of the texture…
Any ideas, how to solve this issue?
Any help is ver Welcome!