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.

For earlier versions, use these:

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!

URP Images

  • image

Setup for HDRP

  • Install HDRP
  • Enable HDRP in Project Settings/Graphics/, assign "HDRenderPipelineAsset" to SRP pipeline setting field
  • Open V3 sample scene: Assets\PointCloudTools\Demos\PointCloudViewer\Scenes\PointCloud-TilesViewerV3.unity
  • From inspector Enable SRP: [x] Use HDRP Custom Pass
  • Select MainCamera
  • Add "CustomPassVolume" component
  • In custom volume, Press + and add "PointCloudCustomPassHDRPV3" (this is for V3 viewer)
  • Press + to Add Viewers and assign "@TilesViewer V3" to that field (you can assign multiple viewers here)
  • Press Play!

HDRP Images

  • image

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