boku-ilen / landscapelab

Geodata-driven Landscape Visualization built with Godot and Geodot
https://landscapelab.boku.ac.at/
Other
37 stars 12 forks source link

Use native OpenXR instead of OpenVR addon #298

Closed kb173 closed 1 year ago

kb173 commented 1 year ago

Godot 4.0 natively supports VR: https://docs.godotengine.org/en/latest/tutorials/xr/setting_up_xr.html

kb173 commented 1 year ago

Some work for this was done in 97fd6a0b. The VR perspective now works. However, there are some issues with the current state of OpenXR in Godot 4:

kb173 commented 1 year ago

Luckily I was mostly wrong! Everything works with the newly updated FirstPersonVR node, it's just that SteamVR's automatic resolution adaption does not seem to do its job well at all. When manually setting the resolution to 100%, the LandscapeLab runs fine with VR, even the sky works with no changes. I assume that the automatic setting brought the resolution up way too high for some reason, causing VRAM issues.

Since the FirstPersonVR node is functional and can be added as needed, this issue is finished.