Lidar Simulation

Hi, I’m working on building a line trace lidar simulation. I’m wondering if anyone has any ideas on how to return the line trace intensity on different material of object that it detects?