Name | emissive() |
||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Examples | size(100, 100, P3D); background(0); noStroke(); background(0); directionalLight(204, 204, 204, .5, 0, -1); emissive(0, 26, 51); translate(70, 50, 0); sphere(30); |
||||||||||
Description | Sets the emissive color of the material used for drawing shapes drawn to the screen. Used in combination with emissive(), specular(), and shininess() in setting the materal properties of shapes. |
||||||||||
Syntax | emissive(gray) emissive(color) emissive(v1,v2,v3) |
||||||||||
Parameters |
|
||||||||||
Returns | None | ||||||||||
Usage | Web & Application | ||||||||||
Related | ambient() specular() shininess() |