PDA

View Full Version : problems with 16bit float textures and rendertarge



lobbel
06-11-2009, 02:10 AM
hello,
when i create a rendertarget (FBO) and attach a 2d texture that uses GL_RGBA as format, it works. That means i can render to this
texture and later render the texture on a fullscreenquad. but when
i change to GL_RGBA16F i dont see anything. I have a nvidia 8800gtx. should support 16bit floating point textures.

Does anyone has an idea ?

regards,
lobbel

dletozeun
06-11-2009, 02:27 AM
I have a nvidia 8800gtx. should support 16bit floating point textures.


Yes you should.
Do you see any difference with GL_RGBA16F_ARB instead?

Show us how you set up your fbo and how you set up rendering to a fullscreen quad.

lobbel
06-11-2009, 09:41 AM
Hello, the problem is, that i dont see anything (a black screen)
when i use these 16 bit textures. and i dont know why. shouldnt
make any difference using the RGBA16F or RGBA.

lobbel

lobbel
06-12-2009, 12:26 PM
got it, something seems to be wront with my fbo