Project

General

Profile

« Previous | Next » 

Revision 164ad04b

Added by cmbruns about 11 years ago

Added hooks for maintaining separate Rift/non-Rift field of view (see below)
CVAR rend-camera-fov always represents the current field of view, whether in Rift mode or not (so culling can work correctly).
CVAR rend-vr-rift-fovx represents stored/current fov for Rift mode.
CVAR rend-vr-nonrift-fovx represents stored/current fov for other modes.
Changing VR::mode, camera-fov, rift-fov, or nonrift-fov each can cleverly update the other fov values, when appropriate.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences