specular()
Lights Camera / Material PropertiesDescription
Sets the specular color of the materials used for shapes drawn to the screen.
Syntax
void specular(float r, float g, float b)
void specular(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...