View Full Version : Problem with HDR textures.
11-05-2005, 08:18 PM
I started adding support for .HDR textures but I'm not having much luck. when I try to show the texture (using a shader that just gets the fragment color from the texture) everything is black. I guess my problem relies on a lack of support for some feature in hardware or something like that. I'm trying to load a NPOT .HDR texture, 96 bits of depth(32bit RGB), the filtering is set to linear and I'm using anisotropic filtering.
I'm using the lastest drivers for my GF6800.
What could be wrong?
11-06-2005, 02:11 AM
float textures dont support linear filtering, try nearest
11-06-2005, 06:50 AM
float textures dont support linear filtering, try nearest Yes they do. In NVIDIA hardware (NV40 and G70) they support linear, bilinear, trilinear and anisotropic...
Your probably confusing with ATI that doesn't support filtering, even in their new cards...
Baggio: a million things could be wrong... ;)
11-06-2005, 09:49 AM
Well, as far as I know the NV40 only supports filtering for FP16 textures so I guess I will have to use nearest filtering. The problem with my app was that I was using the wrong format when I used glTexImage2D. I was using GL_RGB32F_ARB as both format and internalformat for glTexImage2D when I should have used it just for the internalformat and then GL_RGB for the format.
11-06-2005, 09:51 AM
Does the GF6800 support 32-bit float filtering? I thought only 16-bit is supported.
11-06-2005, 10:11 AM
No card supports FP32 filtering.
11-06-2005, 11:04 AM
Forgot to mention that (and didn't notice Baggio was trying to upload a 96 bit texture). :)
There is only filtering for FP16 textures and limited do either 1, 2 or 4 channels I think...
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.