Normal Node

../../../_images/compositing_node-types_CompositorNodeNormal.png

Normal Node.

The Normal node generates a normal vector and a dot product.

输入

法向

Normal vector input.

属性

Normal Direction

To manually set a fixed normal direction vector. LMB click and drag on the sphere to set the direction of the normal. Holding Ctrl while dragging snaps to 45 degree rotation increments.

输出

法向

Normal vector output.

Dot product output. The dot product is a scalar value.

  • If two normals are pointing in the same direction the dot product is 1.

  • If they are perpendicular the dot product is zero (0).

  • If they are antiparallel (facing directly away from each other) the dot product is -1.