Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: Deferre shading with multiple viewports

  1. #1
    Junior Member Newbie
    Join Date
    May 2011
    Location
    Italy
    Posts
    22

    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

  2. #2
    Senior Member OpenGL Pro BionicBytes's Avatar
    Join Date
    Mar 2009
    Location
    UK, London
    Posts
    1,161

    Re: Deferre shading with multiple viewports

    You really should not cross-post.

  3. #3
    Senior Member OpenGL Guru Dark Photon's Avatar
    Join Date
    Oct 2004
    Location
    Druidia
    Posts
    4,478

    Re: Deferre shading with multiple viewports

    Thread collapse: here

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •