PRINCE: Proper memory reading for lightX, lightY, shadowScale