Using Splash Screens for the Oculus Rift


Whenever you are changing levels in your Unreal Engine 4 (UE4) Virtual Reality (VR) project, the user could experience some frame rate issues due to the massive amount of data that is being unloaded and loaded. To help avoid this issue and mask any frame rate issues that might arise when loading a new level, you can now display a splash screen or movie to the user. In the following How To we will go over how to set up and call a splash screen in your UE4 projects.


For this How To you will need to download, unzip and import the two files contained in the following zip file, Oculus Splash Screen Source Files.
  1. Open up your VRPawn and go to the Event Graph. Right-click inside the Event Graph and search for and add the following Blueprint nodes:
    • Event Begin Play
    • Set Tracking Origin
    • Enable Auto Loading Splash Screen
    • Add Loading Splash Screen
    • Hide Splash Screen
    Click for full image.
  2. Since we want the Splash Screen to be called each time a level is loaded, we will want first to make sure that we enable the autoloading of Splash Screen and then set what we want to use as the Splash Screen. Finally, we will want to hide the Splash Screen so that we can call it when we need it later. Now set up the nodes in your VRPawn Event Graph to match the following image:
    Click for full image.
    Make sure that you check the Auto Show Enabled property on the Enable Auto Loading Splash Screen so that the Splash Screen will be automatically called each time a level is loaded.
  3. In the Add Loading Splash Screen node, there is a Texture input which controls what Texture or Movie will be displayed when this is node is called. Set the Texture used to be the T_UE4_Logo_00 or any other Texture of your choosing.
    Click for full image.
    When selecting a Texture to be used as a Splash image, it is best to set the Texture compression setting to UserInterface2D and also to enable the Never Stream option to make sure you will see the highest quality version of your Splash Screen.
  4. Now connect the following three nodes to the VRPawn Event Graph so that we can show and hide the Splash Screen. When completed your setup should match the following image:
    • Motion Controller (L)Trigger
    • Show Loading Splash Screen
    • Hide Loading Splash Screen
    Click for full image.
    While you can display a Splash Screen in this manner, you will want to add this functionality to a Level Blueprint so that when a Level is loaded, the Splash Screen will be displayed until the Level is done loading.
  5. When completed, your VRPawn Blueprint should look like the following image. 
    Click for full image.

End Result

Now, when you squeeze the left trigger on the Touch Controller, your scene should go black, and the Texture of the UE4 logo (or the image you selected) will be displayed.. Releasing the trigger on the Left Touch Controller will bring the level back into view like in the following video.

UE4 Project Downloads

Below you will find a link to where you can download the UE4 project that was used to create this example.

Oculus Rift Splash Screens Example Project