I have set a Raycast node to shoot rays in Normal positive direction.
I want to target Sphere object (for height map). It works perfectly for convex shapes, but issued for concave surface. Rays hit Sphere from sides and generates faked (unwanted) height.
How can I limit rays only for those that hit negative Normal of target object?
(marked red in screen)
- Grey ray - isn't hit
- Blue ray - hits positive normal of target (to be seen as "isn't hit")
- Red ray - hits negative normal of target
In this example with Monkey - visible on ear.