Opening any VR app in SteamVR and launching the following seems to close the original app no matter what:
conf.lua
function lovr.conf(t)
t.headset.overlay = true
end
main.lua
function lovr.draw(pass)
pass:cube(0, 1.7, -1, .5, lovr.headset.getTime(), 0, 1, 0, 'line')
end
Development appears to have stalled on OpenXR overlays in favour of API layers it seems.
It also seems there is no LÖVR pre-built with both overlay and SteamVR, which is a shame, since there it probably works.
OpenXR has API layers seems to be the current supported option: "OpenKneeboard currently supports overlays with: OpenXR Direct3D 11 games, via a custom API layer" (unfortunately licenses are not compatible with LÖVR).
Related:
Opening any VR app in SteamVR and launching the following seems to close the original app no matter what:
conf.luamain.luaDevelopment appears to have stalled on OpenXR overlays in favour of API layers it seems.
It also seems there is no LÖVR pre-built with both
overlayand SteamVR, which is a shame, since there it probably works.OpenXR has API layers seems to be the current supported option: "OpenKneeboard currently supports overlays with: OpenXR Direct3D 11 games, via a custom API layer" (unfortunately licenses are not compatible with LÖVR).
Related: