Added tint color attribute to material data type
It tints all fragments, ignores lighting. Useful for some features like feedback (damage color, ...).
This commit is contained in:
parent
f2d61d4043
commit
b0a0c5d431
1 changed files with 7 additions and 1 deletions
|
|
@ -414,6 +414,7 @@ typedef struct Material {
|
|||
Texture2D texNormal; // Normal texture (binded to shader mapTexture1Loc)
|
||||
Texture2D texSpecular; // Specular texture (binded to shader mapTexture2Loc)
|
||||
|
||||
Color colTint; // Tint color
|
||||
Color colDiffuse; // Diffuse color
|
||||
Color colAmbient; // Ambient color
|
||||
Color colSpecular; // Specular color
|
||||
|
|
|
|||
Loading…
Reference in a new issue