I've been trying to get heightmapping lighting to work with the mouse position, and the coordinates when the screen is at the top left are about mousex*0.00155 and mousey*0.002. It works until I scroll the screen, then the lighting gets misaligned again.
Is there anything that can be done about this?