in ReplicaSDK/include/MirrorRenderer.h [167:175]
void BeginDrawScene(const GLenum frontFace) {
frameBuffer.Bind();
glClearColor(0.0f, 0.0f, 0.0f, 1.0f);
glClear(GL_COLOR_BUFFER_BIT | GL_DEPTH_BUFFER_BIT);
glFrontFace(frontFace == GL_CW ? GL_CCW : GL_CW); // reflection reverses facing
glEnable(GL_CLIP_DISTANCE0);
glPushAttrib(GL_VIEWPORT_BIT);
glViewport(0, 0, colorTex.width, colorTex.height);
}