PDA

View Full Version : Float texture



capedica
06-10-2005, 12:56 AM
What's the analogous of GL_TEXTURE_RECTANGLE_NV on Ati cards?
on nvidia cards i buil empty texture in this way:


glTexImage2D(GL_TEXTURE_RECTANGLE_NV,0,
GL_FLOAT_RGBA32_NV,
PB_WIDTH,
PB_HEIGHT,
GL_FLOAT_RGBA32_NV,
0); On Ati cards?
Thank you

skynet
06-10-2005, 02:07 AM
there is an extension called WGL_ATI_render_texture_rectangle. Unfortunately there´s no information anywhere on how to use it :-(

(HUMUS, please enlight us!)

Overmind
06-10-2005, 02:25 AM
There is ARB_texture_rectangle...

But I don't think it is neccesary for using float textures on ATI hardware. AFAIK this limitation only originates from GFFX-class hardware, on ATI and GF6800 you can use float textures on any target...

Java Cool Dude
06-10-2005, 04:37 AM
GL_TEXTURE_RECTANGLE_EXT, it carries the same enumeration than the ARB counter part.
I tried using it on my work machine but it doesn't seem to work quite well :(

Chuck0
06-10-2005, 05:45 AM
on ati hw simply use GL_TEXTURE_2D or whatever target u need :)

Humus
06-10-2005, 02:27 PM
Yes, that's recommended. We support ARB_texture_rectangle as well, but it's better to use the GL2.0 interface.