Hi,
I'm working on the integration of Vuforia in a libgdx render.
I followed this page : https://developer.vuforia.com/resources/dev-guide/opengl-state-changes-video-background-renderer but i'm not sure to undesrtand what is called and when because my code looks like that :
Gdx.gl.glClearColor(0, 0, 0, 1); Gdx.gl.glClear(GL10.GL_COLOR_BUFFER_BIT | GL10.GL_DEPTH_BUFFER_BIT); Gdx.gl.glDisable(GL10.GL_CULL_FACE); Gdx.gl.glDisable(GL10.GL_DEPTH_TEST); State state = mRenderer.begin(); mRenderer.drawVideoBackground(); Gdx.gl.glEnable(GL10.GL_DEPTH_TEST); Gdx.gl.glEnable(GL10.GL_CULL_FACE); my3DCamera.update(); //now render the 3D scene mbatch.begin(camera); cube.render(mbatch, lights); mbatch.end(); mRenderer.end();
Is you engine acting on OpenGL state such as the glViewport coordinates, or the near and far clip planes ?
Also, you may want to check thr Background Texture Access sample, which shows how to render the video texture on a mesh, and illustrates all the OpenGL commands involved in the process.
This might shed some light on possible conflicts with your engine.