MaterialDiffuseColor()

Syntax

MaterialDiffuseColor(#Material, Color)
Description
Changes the #Material diffuse color. The diffuse material color is the color than the material will reflect when it will be dynamically lighted. For example, using a full white color will result at normal lighting (all colors are reflected). If you use a red, 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() function.

Supported OS

All

<- MaterialDepthWrite() - Material Index - MaterialFilteringMode() ->