View Full Version : Deferre shading with multiple viewports

05-04-2011, 06:19 AM

my main problem is to create a G-Buffer with different resolutions and format for each textures but i know that the viewport setting is the same for all the textures. I tried with glViewportArrayv and layered rendering but it is not MRT. Furthermore, layered rendering doesn't allow you to render into an array of texture or a 3D texture with different format and size for each layer, i think. So is it possible to use multiple render target with different viewports ?

Thank you

05-04-2011, 09:35 AM
You really should not cross-post.

Dark Photon
05-04-2011, 05:45 PM
Thread collapse: here (http://www.opengl.org/discussion_boards/ubbthreads.php?ubb=showflat&Number=296784#Post2967 84)