Skip to content

SRP (URP & HDRP)

mika edited this page Feb 7, 2025 · 15 revisions

In version 2.96 and later, URP and HDRP rendering is included with the plugin. Check PointCloudTools/SRP/ folder for the SRP assets.

In some sample scenes, standard materials are used for boxes/spheres, you need to convert them into URP/HDRP materials. You can use Unitys own Windows > Rendering > Material Converter or my custom script to only convert standard materials inside PointCloudConverter/ folder: Window/PointCloudTools/Convert Materials to HDRP and Window/PointCloudTools/Convert Materials to URP

Setup for URP

  • Install URP
  • Enable URP in Project Settings/Graphics/ , assign "URP Asset" to SRP pipeline setting field
  • You only need to do next steps, IF you want to use VR or you have WorldSpaceCanvas in the scene (or other rendering issue with URP)
  • Open V3 sample scene: Assets\PointCloudTools\Demos\PointCloudViewer\Scenes\PointCloud-TilesViewerV3.unity
  • From inspector Enable SRP: [x] Use URP Custom Pass
  • Select PointCloudTools/SRP/URP Asset_Renderer
  • Click Add Renderer Feature
  • Select PointCloudCustomPassURP from the dropdown
  • Press Play!

Setup for HDRP

  • Install HDRP

Troubleshooting SRP's

Error spam like: "Script attached to 'DefaultLookDevProfile' in scene '' is missing or no valid script is attached. UnityEngine.GUIUtility:ProcessEvent (int,intptr,bool&)"

Delete those HDRP resource files if you dont use HDRP