I have managed to implement a very simple deferred renderer by going through the interwebs, but it seems to kill my text rendering, which worked well in a forward rendering context. I don`t know what could be causing it, if anyone could give me any insight on this, I would really appreciate it.
I`m pretty sure it has to do with one or more GL state, but I can`t seem to figure out which one.
It goes something like this . . .
And here`s how I try to draw my string :
glBindBuffer(GL_ARRAY_BUFFER, 0);
glUseProgram(0);
(*window).pushGLStates();
(*window).resetGLStates();
(*FPSText).setString("FPS : " + int2Str((int)FPS));
(*window).draw(*FPSText);
(*window).popGLStates();
Any ideas?