Skip to content

raylib.SetMaterialColor

JoeStrout edited this page Nov 16, 2026 · 1 revision

Set the color of one map (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...) of a material. The diffuse color tints whatever is drawn with the material, multiplied with its texture.

Parameters

Parameter Default Value Note
material
mapType
color WHITE

Return value

None.

Notes

Clone this wiki locally