diff options
| author | victorfisac <victorfisac@gmail.com> | 2016-05-30 19:55:13 +0200 |
|---|---|---|
| committer | victorfisac <victorfisac@gmail.com> | 2016-05-30 19:55:13 +0200 |
| commit | b0a0c5d4312d05d460cdd12f6af12321b0a55e66 (patch) | |
| tree | 4f0b5967634052260873fd47f3b9d2418690cdcd /src/raylib.h | |
| parent | f2d61d4043850e89b2d2cb7bacffe628aef0b981 (diff) | |
| download | raylib-b0a0c5d4312d05d460cdd12f6af12321b0a55e66.tar.gz raylib-b0a0c5d4312d05d460cdd12f6af12321b0a55e66.zip | |
Added tint color attribute to material data type
It tints all fragments, ignores lighting. Useful for some features like
feedback (damage color, ...).
Diffstat (limited to 'src/raylib.h')
| -rw-r--r-- | src/raylib.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/raylib.h b/src/raylib.h index 73a36a16..dfec956d 100644 --- a/src/raylib.h +++ b/src/raylib.h @@ -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 |
