-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Currently it requires you to do few modifications: These instructions are for 2021.3.12f1 + HDRP 12.1.7
- Open LidarViewer.cs
- Add line:
public static LidarViewer instance; - Add line (inside Awake() method)
instance = this; - Project window Create/Rendering/C# Custom Pass
- Open that custom pass script, Add these lines (inside Execute method)
if (LidarViewer.instance == null) return;
ctx.cmd.DrawProcedural(Matrix4x4.identity, LidarViewer.instance.cloudMaterial, 0, MeshTopology.Points, LidarViewer.instance.points.Length);
- Select Main Camera from hierarchy
- Add component: "Custom Pass Volume"
- Press + button for Custom Passes, select "New Custom Pass"
- Hit play to test.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels