Thanks farshizzo, I get it now. Your code works although the image is still definitely "shifted" in the same way as before (see thumbnail below). One thing I do not understand is why this shift is present now when I don't even set up the HMD's yaw/pitch offsets? How can I center the image properly?