Simstim

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)

Related

Full SideFX documentation ↗