Deferre shading with multiple viewports

Hi,

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

You really should not cross-post.

Thread collapse: here