PDA

View Full Version : How to render to a float-texture?



Jan
04-14-2004, 01:50 PM
Hi

How can i render to a float-texture? I cannot render to the framebuffer and use glCopyTexImage because the framebuffer is RGBA8.
Would i need to use a pBuffer???

I mean a float-texture as specified in ATI_texture_float.

Thanks,
Jan.

Mazy
04-15-2004, 02:20 AM
yep, you need to create a fp-pbuffer and render to that, then use render_to_texture extension to bind that pbuffer as a texture.