normal()
Lights Camera / LightsDescription
Sets the current normal vector. Used to specify the surface orientation for lighting calculations.
Syntax
void normal(float nx, float ny, float nz)
Parameters
| Name | Type | Description |
|---|---|---|
| nx | float | x component of normal |
| ny | float | y component of normal |
| nz | float | z component of normal |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...