VR loading splash screen in 4.14
Having trouble getting a VR loading splash screen to work on Vive, it ends up just freezing the current frame and attaching it to my HMD as if that were the loading screen.
In my GameInstance constructor:
In my GameInstance::Init()
Then I'm testing using "ue4editor MyGame -game", from my hub map, load into another level. Instead of the loading screen, I get a screenshot of my loading level attached to my HMD.
My texture is 1280x1215, no mip maps, B8R8G8A8. Also tried 1024x1024 B8R8G8A8
Am I missing something?
Calling SteamVRHMD->UpdateLayerTextures(); inside FSteamSplashTicker::Tick worked around the issue and exposed another crash inside FSteamVRHMD::D3D11Bridge::FinishRendering when RenderTargetTexture is null.
The last frame is never cleared as intended in FSteamVRHMD::RenderTexture_RenderThread, but that never runs when bSplashIsShown for me.
Also, the provided customization options are really limiting. The splash screen is 800x450 no matter what. Offset and Scale just modify the UVs which seems kinda pointless. I can edit the code in FSteamVRHMD::UpdateSplashScreen, but I would rather have parameters to set splash size and position exposed.
answered Nov 16 '16 at 03:22 PM
Follow this question
Once you sign in you will be able to subscribe for any updates here