Updated with rendering for Oculus Rift.