lightFalloff()
Lights Camera / LightsDescription
Sets the falloff rates for point lights, spot lights, and ambient lights.
Syntax
void lightFalloff(float constant, float linear, float quadratic)
Parameters
| Name | Type | Description |
|---|---|---|
| constant | float | constant falloff factor |
| linear | float | linear falloff factor |
| quadratic | float | quadratic falloff factor |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...