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
parent f2d61d4043
commit b0a0c5d431
4 changed files with 7 additions and 1 deletions

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