getlocalcurvature
| Context(s) | shading |
|---|
vector getlocalcurvature(float s, float t)
Returns 0 vector if the object does not have subdivision enabled, or has no displacement shader assigned.
Otherwise, the measured convexity and concavity will be returned in x and y components respectively.
s
Parametric S shading value. This should be passed from the s global variable.
t
Parametric t global variable.