specular()

Lights Camera / Material Properties

Description

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

NameTypeDescription
rfloatred component
gfloatgreen component
bfloatblue component
ccolora color value

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...