emissive()

Lights Camera / Material Properties

Description

Sets the emissive color of a shape. Emissive color appears to glow.

Syntax

void emissive(float r, float g, float b) void emissive(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...