VEX Dictionary / gradient
gradient
Computes the spatial derivative of a volume or shading field, tangent to the surface when only Du/Dv are known.
group: shadingshadingvolume
Available in every context
Usage
vector gradient(float val, ...)
vector gradient(vector P, float val, ...)
Examples
No worked examples yet.
Signatures (from vcc -X)
vector gradient(float, ...)displace, fog, light, shadow, surfacevector gradient(vector, float, ...)all contexts