lightSpecular()

Lights Camera / Lights

Description

Sets the specular color for lights. Affects materials with specular component.

Syntax

void lightSpecular(float r, float g, float b)

Parameters

NameTypeDescription
rfloatred component
gfloatgreen component
bfloatblue component

Returns

void

Related

Under the Hood

Implementation in Processing.h / Processing.cpp:

Loading...