( begin auto-generated from specular.xml ) Sets the specular color of the materials used for shapes drawn to the screen, which sets the color of hightlights. Specular refers to light which bounces off a surface in a perferred direction (rather than bouncing in all directions like a diffuse light).
(int rgb)
| 6926 | * @see PGraphics#shininess(float) |
| 6927 | */ |
| 6928 | public void specular(int rgb) { |
| 6929 | // if (((rgb & 0xff000000) == 0) && (rgb <= colorModeX)) { |
| 6930 | // specular((float) rgb); |
| 6931 | // |
| 6932 | // } else { |
| 6933 | // colorCalcARGB(rgb, colorModeA); |
| 6934 | // specularFromCalc(); |
| 6935 | // } |
| 6936 | colorCalc(rgb); |
| 6937 | specularFromCalc(); |
| 6938 | } |
| 6939 | |
| 6940 | |
| 6941 | /** |
no test coverage detected