View Full Version : Best way to do magnification

03-10-2016, 04:58 PM
I am rendering to framebuffer of size 512x512 (texture attachment). And I want this to be rendered on another FBO of size 1k x 1k. I can do render to texture with full screen quad. But I am wondering is it possible to do this in single pass directly to final FBO? Can we write to multiple fragment locations from fragment shader or something similar functionality? I am using ES 3.0.

03-10-2016, 05:15 PM
Look into glBlitFramebuffers, but I'm not sure this is faster than an actual pass with a simple shader.