Is it possible to draw a surface normal from a barycentric coordinate on RaycastHit? I’ve seen debug shaders that draw surface normals, but I’d like to fire a raycast on a polygon mesh and have a visualization of the normal for the point hit. Any code is welcome, C# or Java, and much appreciated. Thanks.
The example on the documentation page computes the normal on the hit point. It even draws it. Does it not work for you?