|On this page|
Clamps the input shading normal in a way that reflection vector of the input incident direction (assuming perfect specular) lies on the same side as geometry normal. This VOP can be used to avoid shading artifacts at grazing angles particularly when bump or normal maps are used.
Normalized shading normal.
Normalized geometry normal.
Normalized direction from eye to shading point.
Effectively increases detection threshold. If bias is set too high, reflections near grazing angles may appear incorrect.
The clamped shading normal (normalized).