VEX Dictionary / interpolate
interpolate
Interpolates a value, color, or BSDF across the current micropolygon using random sample offsets, for antialiasing.
group: shadinglightpbr
Available in every context
Usage
float interpolate(float val, float sx, float sy)
vector interpolate(vector val, float sx, float sy)
vector4 interpolate(vector4 val, float sx, float sy)
bsdf interpolate(bsdf val, float sx, float sy)
Examples
No worked examples yet.
Signatures (from vcc -X)
bsdf interpolate(bsdf, float, float)all contextsfloat interpolate(float, float, float)all contextsvector4 interpolate(vector4, float, float)all contextsvector interpolate(vector, float, float)all contexts