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 ?

  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 .


This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.