View Full Version : FBO w/ nVidia cards

06-13-2006, 09:59 PM
Ive done a search, and I found a semi-solution to the problem, however it was a thread from a year back, and the solution was beta drivers.

Im running beta forceware 91.31 drivers on a 6600.

My actual problem is that I keep getting a GL_FRAMEBUFFER_UNSUPPORTED_EXT return from glCheckFrameBufferStatusEXT. Ive gone over the code many times, but I just cant get away from this error. I'll post the code involved so I can get a second opinion. Im completely out of ideas .... :-\

The code is at: http://pastebin.com/707909

Thanx in advance for any ideas :)

06-13-2006, 10:41 PM
IIRC DEPTH_COMPONENT24 is the only supported depth format for NVidia FBOs.

06-13-2006, 10:41 PM
What's your glTexParameteri(....).

06-13-2006, 11:12 PM
Sorry, I just blipped out the glTexParameter stuff, its just mundane texture clamping and min/max filter attributes. The texture is clamped in S and T, and the min/max filters are both LINEAR.

The GL_DEPTH_COMPONENT16 is actually what was killing it. I guess Im stuck with 24b zDepth then :)
Thanks very much for the help :)

06-14-2006, 12:59 AM
both GL_DEPTH_COMPONENT16 + 24 is possible for a depth only fbo
if u need color also then u must use 24

06-14-2006, 07:43 AM
Note that you are probably not getting an RGB16 internal texture format for your color buffer even though you requested one.

Supported texture formats xls (http://download.nvidia.com/developer/OpenGL_Texture_Formats/nv_ogl_texture_formats.xls)

Supported texture formats pdf (http://download.nvidia.com/developer/OpenGL_Texture_Formats/nv_ogl_texture_formats.pdf)