Hi,
I am having problem with realistic laser pointer. I am trying to create real moving laser in my VR game and I am using texture of laser dot, placing it wherever the laser hit:
However as you can see there is a problem on the edges, and it looks bad. I would like to get similiar effect to the spotlight:
How can I modify the mesh /or sprite to draw it on the collider? I guess drawing on mesh is not the solution, because I it would be very complicated if I have 2 objects (like pillar and wall, 2 different objects) and laser hit both. Can i somehow draw it in the shape of colliders? Or is there any other known solution for showing laser sight on mesh?
Thanks in advance for any answers!
PS. I tried spotlight with cookie, but you have minimum spot angle, that is too big for me and it looks bad (laser point don’t scale up with distance like spotlight), not to mention problems with texture colors. Also used projector, but can’t get around texture showing on both sides of the object (no matter the size of far clip plane, it always go through the object texture it is projected on).