This operator returns the front facing normal of a surface, given a
surface normal (
N) and an incident ray (
N are not wired, the global variables by the same names will be
used instead. Neither vector needs to be normalized. There is an option,
however, for the output to be normalized.
The dot product is negative when
I head in the same direction. So for semi-transparent materials, you can make the back face shade correctly by flipping N:
When baking a map, it still uses a dicing camera point. If you have a camera on one side of an object, the reverse side has trouble if you
The following examples include this node.
This example demonstrates how a mixture of fluid colours can have their colour changed by a collision with a static object.