I'm trying to combine using the Irrlicht renderer with the QCAR SDK in an iOS app so that I can render my scene in Irrlicht using the data provided by QCAR.
The problem I have is that Irrlicht assumes GLES is in the same state the beginning of the next frame as it was in the previous frame. QCAR seems to be altering the state, presumably to render the camera image as a full screen quad. I know it is changing the shader program. Does anyone know what else it changes?
This is roughly what I'm doing in renderFrameQCAR: