pointLight()
Lights Camera / LightsDescription
Adds a point light. Emanates from a specific position in all directions.
Syntax
void pointLight(float r, float g, float b, float x, float y, float z)
Parameters
| Name | Type | Description |
|---|---|---|
| r | float | red component |
| g | float | green component |
| b | float | blue component |
| x | float | x-position |
| y | float | y-position |
| z | float | z-position |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...