Houdini 20.5 Nodes VOP nodes

Hair Normal VOP node

Generates a normal vector which always faces the camera, parallel to the incidence vector.

On this page

This VOP generates a normal specifically for use in the lighting models for curves (hairs). This normal is based on the tangent vector of the curve (hair) and will always face the camera, parallel to the incidence vector.

Inputs

nI

The incident direction ray used in the calculation of the curve normal.

nT

This is the vector tangent to the curve (hair).

ss

This is the u texture coordinate attached the curve (hair) primitive.

Parameters

bow

This is the Do Rounding toggle. If on, it causes the curve to have an interpolated normal.

Outputs

hairNn

A normal vector for use with hair lighting models.

See also

VOP nodes