Creating a Unity project using HDRP

This guide will help you create a new project using High-Definition Render Pipeline (HDRP). These screenshots are taken from Unity 2019.1.4f1. Other versions of Unity may appear differently.

  1. Create a new project in Unity and select High-Definition RP from the templates.
  2. Download and unzip Varjo Plugin for Unity archive and navigate to assets folder.
  3. Drag and drop three folders (Varjo, VarjoExamples, and VarjoSteamVR) to the Unity Assets folder.
  4. From the Unity assets window navigate to the Varjo > Prefabs folder and drag VarjoUser to the project hierarchy window.
  5. Navigate to Edit > Project Settings > Quality and set VSync Count to Don’t Sync.
  6. Make sure that the Virtual Reality Support is disabled under Edit > Project Settings > Player > XR Settings.
  7. From the same Player tab under Other Settings, set Color Space to Linear.
  8. Delete or disable original camera from the scene. Now the scene should run with Varjo headset.
  9. Click on VarjoUser in the Hierarchy window and Copy Camera Components.
    • (Optional) If the image in your headset is flipped, enable Flip Y.
  10. (Optional) For the best visual quality set Anti-aliasing mode to Temporal Anti-aliasing (TAA) under VarjoUser > VarjoCamera.
  11. In the Scene Post-process for your scene change, following settings:
    • Disable Vignette.
    • Under Exposure change Mode to Use Physical Camera.
    • Under Exposure set Compensation value to 10.
    • Disable Chromatic Aberration.
  12. In the Default Post-process for your scene change following settings:
    • Disable Ambient Occlusion.
    • Disable Bloom.
    • Under Exposure change Mode to Use Physical Camera.
  13. (Optional) If you want to generate cameras from VarjoUser, make sure that all of the cameras have the same settings as the main camera.