shininess() \ Language (API) \ Processing 1.0
Author: Casey Reas & Ben Fry
Description: Processing is an electronic sketchbook for developing ideas. It is a context for learning fundamentals of computer programming within the context of the electronic arts.
Keywords: Processing, Processing, Interactive Media, Electronic Arts, Programming, Java, Ben Fry, Casey Reas

Reference for Processing version 1.5. If you have a previous version, use the reference included with your software. If you see any errors or have suggestions, please let us know. If you prefer a more technical reference, visit the Processing Javadoc.

Name | ### shininess()
Examples |
    size(100, 100, P3D);
    background(0);
    noStroke();
    background(0);
    fill(0, 51, 102);
    ambientLight(102, 102, 102);
    lightSpecular(204, 204, 204);
    directionalLight(102, 102, 102, 0, 0, -1);
    specular(255, 255, 255);
    translate(30, 50, 0);
    shininess(1.0);
    sphere(20);
    translate(40, 0, 0);
    shininess(5.0);
    sphere(20);
Description | Sets the amount of gloss in the surface of shapes. Used in combination with ambient(), specular(), and emissive() in setting the materal properties of shapes.
Syntax |
    shininess(shine)
Parameters |
shine | float: degree of shininess
Returns | None
Usage | Web & Application
Related | ambient() specular() emissive()

Updated on August 30, 2010 04:29:39pm EDT