Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!


1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Hati Eth

Member Since 07 Jan 2012
Offline Last Active Jul 11 2012 05:56 AM

Posts I've Made

In Topic: Problem/Question regarding FBOs and Render to Texture

11 January 2012 - 11:37 AM

In your non-working generate function, you don't set the GL_DEPTH_ATTACHMENT for either of the FBOs. Try setting those and see if that works.


RenderBuffers (including Depth-Buffers are not actually necessary for what I try to do - like i said in the last lines of my first post - i already tried if it was them by commenting them out in the working code which changed nothing on the working status)

Also, this:

glBindFramebuffer(1, m_frontBuffer);

should be this:
glBindFramebuffer(GL_FRAMEBUFFER, m_frontBuffer);

Thanks, that was the issue, code-blindness :) - didn't saw it.

PARTNERS