Open philhzss opened 2 years ago
Ref #28, this will fix it
Subtracting VRroomDistanceToGameDistanceScale/2 from the scaled translation on the Y axis seems to look good in-game (relation HMD to floor), but looks bad in menus (you feel too tall). Subtracting VRroomDistanceToGameDistanceScale is better for the menus?
Still to do:
We are currently handing the VR HMD pose matrix stuff in Camera.c only, which is giving us several problems. For example, it is only applied in levels (not in menus, cutscenes etc as that code is only used when playing. Also getting some weird stuttering / latency, which seems to not be the case if I multiply with the other HMD matrices in OGL_Support.