Skip to content

raylib.SetModelMaterialColor

JoeStrout edited this page Nov 3, 2026 · 1 revision

Set the color of one map (MATERIAL_MAP_DIFFUSE, MATERIAL_MAP_SPECULAR...) of one material of a model. The diffuse color tints the model, multiplied with the texture and the DrawModel tint.

Parameters

Parameter Default Value Note
model
materialIndex
mapType
color WHITE

Return value

None.

Notes

Clone this wiki locally