wirediffuse VEX function

Context: surface

See also: wireblinn, Writing a PBR shader

  1. bsdf wirediffuse(vector tangent)

Diffuse function defined around a tangent vector. This can be used to produce the average diffuse illumination for thin wire-like primitives such as hair.

  • tangent - tangent vector along the hair.