// Render the texture public void update(final Renderer r) { updateProjection(); // Render only vertices, nothing else setRenderVertexOnly(true); // render textureRenderer.render(occluder, texture, Renderer.BUFFER_COLOR_AND_DEPTH); // restore states setRenderVertexOnly(false); // set the texture coordinate matrix texture.setTextureMatrix(projectionMatrix); }