PDA

View Full Version : GL_ATI_texture_float bug ?



McBain
01-18-2003, 02:12 AM
Hello,

i came across something weird using GL_ATI_texture_float.
it seems there is something wrong with the interpolation of GL_RGB_FLOAT32_ATI and GL_RGB_FLOAT16_ATI textures.
See below for an image to illustrate this problem.

Is this a bug or am i missing something here ?

an image illustrating this problem can be found at: http://www.cs.kuleuven.ac.be/~ares/atibug3/image.jpg

c code can be found at: http://www.cs.kuleuven.ac.be/~ares/atibug3/atibug.cpp

executables can be found at: http://www.cs.kuleuven.ac.be/~ares/atibug3/bin.zip

a vc6 project can be found at: http://www.cs.kuleuven.ac.be/~ares/atibug3/vc6.zip

best regards;
Ares Lagae

ScottManDeath
01-18-2003, 03:35 AM
Originally posted by McBain:

Is this a bug or am i missing something here ?


Hi

IIRC float textures only support linear (or nearest ?? )filtering so you have to filter yourself in the fragment program. Mipmapping is not available.

Bye
ScottManDeath

McBain
01-19-2003, 01:56 AM
Indead, floating point textures only support nearest, and not linear filtering. I do think it should be in the GL_ATI_texture_float spec.