A tutorial that covers the Curvature shader can be found here.

Output

Samples

Radius

Spread

Threshold

Bias

Multiply

Trace Set

Right cube (below) has 'inclusive' Trace Set in Arnold attributes and shader

Inclusive

Self Only