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:
victorfisac 2016-05-30 19:55:13 +02:00
commit b0a0c5d431

View file

@ -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