//from the current scene to the window scene
pa.getInputManager().disableGlobalInputProcessors(scene);
//Create FBO
// this.fbo = new GLFBO(pa, pa.width, pa.height);
this.fbo = new GLFBO(pa, fboWidth, fboHeight);
//Attach texture to FBO to draw into
GLTexture tex = fbo.addNewTexture();
//Invert y texture coord (FBO texture is flipped)