So I am assuming your FBO is 100% OK so problem will be elsewhere..
Well I'm not sure if this is your problem but there should be several things to chcek:
- from the code I can see that you unbind frambuffer using glBindFramebuffer(GL_FRAMEBUFFER,0); so you are rendering to nothing
- another thing to check is if you are not trying to render to texture which is also source texture (single texture for multiple FBO )
- last thing to check is clearing your FBO before render / disabling depth test if used
Show differencesHistory of post edits
#1SaTANO
Posted 07 January 2013 - 02:38 PM
Well I'm not sure if this is your problem but theres shoul be several things to chcek:
- from the code I can see that you unbind frambuffer using glBindFramebuffer(GL_FRAMEBUFFER,0); so you are rendering to nothing
- another thing to check is if you are not trying to render to texture which is also source texture (single texture for multiple FBO )
- last thing to check is clearing your FBO before render / disabling depth test if used