Closed kb173 closed 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:
OpenXR: Failed to locate view space in play space [ XR_ERROR_TIME_INVALID ]
OpenXR: failed to locate space! [ XR_ERROR_TIME_INVALID ]
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.
Godot 4.0 natively supports VR: https://docs.godotengine.org/en/latest/tutorials/xr/setting_up_xr.html