Name | emissive |
||||||||
---|---|---|---|---|---|---|---|---|---|
Examples |
settings <- function() { size(100, 100, P3D) } draw <- function() { background(0) noStroke() background(0) directionalLight(204, 204, 204, 0.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 ambient(), specular(), and shininess() in setting the material properties of shapes. | ||||||||
Syntax | emissive( | ||||||||
Parameters |
| ||||||||
Related |
ambient specular shininess |
Cover
Reference
Tutorials
Bugs