[VR] Displaying the 2D UI within a 3D view
In a 3D VR environment, Doomsday's and the games' 2D UI elements must be displayed differently. For instance, for Oculus Rift the 2D UI should be scaled down and projected to appear in front of the player in 3D.
The 2D player weapon sprite is a special case as it is considered a part of the 3D world. Since it is drawn separately from the UI, it also needs to be projected separately.
#3 Updated by skyjake about 10 years ago
- Assignee set to skyjake
- Target version set to 1.13
- % Done changed from 0 to 50
The current status is that the player's HUD layer, also containing the game menu, is drawn to a texture that can then be projected in the suitable manner for 3D viewing.
The last remaining element is the player's crosshair, which is drawn on gameside.