Project Setup
Setting up a new project for HDRP and the APS_SDK
Setting up a new project for HDRP and the APS_SDK
Start a new project in Unity we can use for building custom assets for Fusion HDRP.
Start by installing the latest version of Unity 6000 from Unity Hub.
in this tutorial I'm using 6000.3.5f2, later versions should work.
Create a new project. I named the project APS_SDK_HDRP.
Search for the templates "High Definition" and select High Definition 3D , this sets up Unity on first launch so the editor is configured for HDRP.
Unity doesn't include the HDRP package by default, we need to install it from package manager.
Now you have a empty scene with a Global Volume already added.
When the project loads you must install HDRP from the package manager.
From the file menu go to: Window > Package Management > Package Manager
By default Unity doesn't include the HDRP package. We need to install it from package manager.
From package manager search for "High Definition Render Pipeline" and install the package.
After the HDRP package is installed you can create HD materials that include Diffusion Profiles and setup Volumes in scenes.
Import the APS_SDK and enable the HD render pipeline.
Import the APS_SDK and import it into the project.
Make sure to download version 10.4.8 or later so diffusion profiles are included.
Diffusion Profiles are explained further down.
Setup the render pipeline to use HDRP and install the XR plugin to enable stereo rendering.
Edit > Project Settings > XR Plugin Management > Install XR Plugin Management
This is needed to enable stereo shader compilation. If you build a avatar but forget to install the XR plugin the materials will render only in one eye in VR
After the XR plugin has finished installing enable the OpenXR checkbox to enable the stereo render mode.
Last thing is make sure the render mode is set to Single Pass Instanced:
From the APS_SDK dropdown menu click on Set HDRP Render Pipeline.
This adds the APS_SDK_HDRP define symbol, and enables HDRP build support in all SDK scripts.
That was a lot of steps 😅 Everything should now be setup for HDRP and ready to start building custom AAA assets 🚀
Next import a avatar .fbx into the Unity project, you can find the full tutorial video here.
HD materials can be assigned just like standard materials and include advanced rendering options such as SSS and Translucency.
Lets get started by adding a Diffusion Profile to the avatar and setup the materials to use them!
Next Page: HDRP Avatars