ambient()
Lights Camera / Material PropertiesDescription
Sets the ambient reflectance for shapes. Used with lighting.
Syntax
void ambient(float r, float g, float b)
void ambient(color c)
Parameters
| Name | Type | Description |
|---|---|---|
| r | float | red component |
| g | float | green component |
| b | float | blue component |
| c | color | a color value |
Returns
voidRelated
Under the Hood
Implementation in Processing.h / Processing.cpp:
Loading...