High Definition Render Pipeline in Unity- Game Dev Series 158
Objective: quick introduce of HDRP in Unity.
We’ve been through quite a lot with URP and knows the difference between standard shader and it. Now we will go further to the best quality of Unity can provides- High Definition Render Pipeline.
In this article, I would upgrade my standard project into a HDRP project. And I would also import the texture we made to URP project.
As we already export package of standard project, we can simply create a new project with HDRP standard assets from Unity Hub and import the package.
Once open the project, import the package.
Open the Control Room scene and you should see all the objects turning into pink again.
In HDRP, there is a window called HD Render Pipeline Wizard, which you can easily to check if there is any error when using HDRP.
Due to the version of Unity, there might be some difference with information within this window. Mine is 2019.4.29f1 LTS.
There is a button at the bottom of this wizard: Upgrade Project Materials to High Definition Materials. Press it and it will automatically upgrading all the materials.
Once done, you should see your game scene back to normal.
Texture from URP
Now we need to import those materials we used in URP project.
Go to URP project folder and locate the texture of 3d models.
Copy these and paste/override all to HDRP folder with same location.
Notice: my HDRP project somehow could not upgrade URP texture automatically, therefore I start relocate these texture one by one.
After import the new texture from URP project, we will need relocate these materials in HDRP project.
Change every material that shows error to HDRP>Lit.
Then relocate the texture that needed.
These would be basically included base map, mask map, normal map, and emission map.
After relocate all the texture, your game scene should looks normal again like mine.
Now you have successfully upgraded your project to HDRP.