RTT + draw2DImage, not working under OpenGL!

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
LovehinaX
Posts: 7
Joined: Wed Nov 08, 2006 12:38 pm

RTT + draw2DImage, not working under OpenGL!

Post by LovehinaX »

I’m having some trouble with draw2DImage() function in OpenGL... What I’m trying to do is render a scene into a RTT texture and then display that texture on the screen with draw2DImage(), pretty standard.
Now, this works perfectly in Direct3D and even in software drivers, but in OpenGL it just displays a blank rectangle... Could this be a bug or something, since I don’t have any problems using draw2DImage() in OpenGL with a regular texture...

Thanks in advance, Lovehina...:)
daveslip
Posts: 7
Joined: Thu Jun 21, 2007 9:38 am

Post by daveslip »

i have the same problem with opengl running on linux
hybrid
Admin
Posts: 14143
Joined: Wed Apr 19, 2006 9:20 pm
Location: Oldenburg(Oldb), Germany
Contact:

Post by hybrid »

No, RTT works under OpenGL. Maybe your gfx driver does not support frame buffer objects? Are there any warnings on the command line?
Post Reply