MaterialSpecularColor()

Syntax

MaterialSpecularColor(#Material, Color)
Description
Changes the #Material specular color. The specular material color is the color than the material will reflect when it will be dynamically lighted by a light which has a specular color value. For example, using a full white color (RGB(255,255,255)) will result at normal lighting (all colors are reflected). If you use a red (RGB(255,0,0)), then only the red colors of the material will be reflected, resulting as a full red material (or black one, if the material doesn't contain any red color). A valid color value can be easily obtained with the RGB() command.

Supported OS

Windows, Linux

<- MaterialShadingMode() - Material Index - RemoveMaterialLayer() ->