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 2 of 2

Thread: NV_render_texture_rectangle + gl_FragData[n]

  1. #1
    Junior Member Regular Contributor
    Join Date
    Aug 2004
    Location
    Palo Alto, CA
    Posts
    111

    NV_render_texture_rectangle + gl_FragData[n]

    Is it possible to create multiple rectangular pbuffers and render into them (different data) in a single pass via the GLSL gl_FragData[n] ?

    Is it possible to do the above using GLUT ?

  2. #2
    Advanced Member Frequent Contributor yooyo's Avatar
    Join Date
    Apr 2003
    Location
    Belgrade, Serbia
    Posts
    883

    Re: NV_render_texture_rectangle + gl_FragData[n]

    1. You need hw with MRT support (ATI 9800+ or Nvidia 6800)
    2. You have to create one pbuffer with AUX buffers in it. All AUX buffers have same pixel format as pbuffer pixel format.
    3. GLUT is just a framework. You can do this with or without GLUT.

    Download very usefull RenderTexture class from http://sourceforge.net/projects/gpgpu .

    yooyo

Posting Permissions

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