Login  Register

Re: Rendering and displaying different resolutions

Posted by Demoscene Passivist on May 05, 2011; 3:42pm
URL: https://forum.jogamp.org/Rendering-and-displaying-different-resolutions-tp2903765p2903915.html

U have to render ur scene to some backbuffer, preferably a FBO (Frame Buffer Object).

The FBO could be any resolution (e.g. 256x256). After u rendered ur scene to the FBO u can use it as texture to render a fullscreen quad in ur "displayed" viewport (e.g. 1280x720). The lower resolution FBO will the be automatically upscaled with bilinear filtering to cover the whole screen.