bool GBuffer::setup(unsigned int windowWidth, unsigned int windowHeight) {

    if (!m_bIsSetup) {
        loadShaders();
        m_bIsSetup = true;
    }

    bool success = setupFbo(windowWidth, windowHeight);

    return success;
}
bool GBuffer::setup(unsigned int windowWidth, unsigned windowHeight) {
  m_fbo_w = windowWidth;
  m_fbo_h = windowHeight;
  
  // full viewport quad vbo
  s_quadVbo.setVertexData(&s_quadVerts[0], 4, GL_STATIC_DRAW);
  s_quadVbo.setTexCoordData(&s_quadTexCoords[0], 4, GL_STATIC_DRAW);

  loadShaders();
  setupFbo();
  
  // return success
  return true;
}