VEX Dictionary / computenormal
computenormal
Computes a normal in shading contexts; in SOP context, it instead decides if normals get recomputed.
group: normalsnormalsshading
Available in every context
Usage
vector computenormal(vector P, ...)
vector computenormal(vector P, vector N, vector Ng, ...)
void computenormal(int i)
Examples
No worked examples yet.
Signatures (from vcc -X)
vector computenormal(vector, ...)all contextsvector computenormal(vector, vector, vector, ...)all contextsvoid computenormal(int)sop