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 ?
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 .