keijiro / Pcx

Point cloud importer & renderer for Unity
The Unlicense
1.36k stars 197 forks source link

Points don't appear in RayTraced Reflections. #91

Closed antoniohof closed 1 year ago

antoniohof commented 1 year ago

When I turn on raytracing in HDRP, the points don't appear in the reflections. Tested with Mesh and Compute Buffer, as well as different shaders.

Anyone has any idea how I can make this work?

Thanks

antoniohof commented 1 year ago

Ok, I managed do it. Using Unity 2023.1.0a26, I imported a Pointcloud as Texture. Then added the colormap and positionmap as inputs for a particle system in VFX.

In this VFX, I clicked in the Ouput Particle Quad and opened the inspector with debug mode on. Then I check 'Enable Raytracing' in the debug inspector. Then you need to recompile the VFX and it works!

antoniohof commented 1 year ago

Closing as I managed to do it.