VEX Dictionary / uvunwrap
uvunwrap
Computes surface position and normal at UV coordinates for Mantra lens shaders or texture baking; prefer uvsample or uvintersect otherwise.
group: shadingshadingraytracing
Available in every context
Usage
int uvunwrap( string object_path; float u; float v; float time; vector &P; vector &I )
int uvunwrap( string object_path; float u; float v; float time; vector &P; vector &I; vector &mikkelsenUtan; vector &mikkelsenVtan )
Examples
No worked examples yet.
Signatures (from vcc -X)
int uvunwrap(string, float, float, float, vector &, vector &)all contextsint uvunwrap(string, float, float, float, vector &, vector &, vector &, vector &)all contexts