View Full Version : NV_render_texture_rectangle + gl_FragData[n]
02-17-2005, 03:28 PM
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 ?
02-17-2005, 05:29 PM
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 .
Powered by vBulletin® Version 4.2.3 Copyright © 2017 vBulletin Solutions, Inc. All rights reserved.