Drawing image into FBO
How can I draw an image into FBO?
I tried something like:
glBindTexture(textureId) //textureId loaded from disk image
glBegin(GL_QUADS)
glTexCoord2f
glVertex3f
.....
glEnd()
but i got an white rectangle.
Without FBO code work fine.
Thanks.
how are you setting up teh FBO?
how are you binding targets to the FBO?
does it report the framebuffer as complete?
*add any number of 1000 questions which could be asked as you havent given vaguely any infomation*
how are you binding targets to the FBO?
does it report the framebuffer as complete?
*add any number of 1000 questions which could be asked as you havent given vaguely any infomation*
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement