Hi!
Modify your material, passing point of intersection, casted in object’s local space, in a uniform, then process this data in shaders.
For a reference, have a look at this forum topic: Creation of rays passing through a 3D model
Hi!
Modify your material, passing point of intersection, casted in object’s local space, in a uniform, then process this data in shaders.
For a reference, have a look at this forum topic: Creation of rays passing through a 3D model