How did you calculate the lX and lY camera position on the mode7 plane?
I have rewitten the shader and the perspective behavior, to allow changing camera height and scalings in realtime. Not hard at all.
But im struggling to get the camera to an absolute position over the ground.