summaryrefslogtreecommitdiffhomepage
path: root/src/rlgl.h
diff options
context:
space:
mode:
authorvictorfisac <[email protected]>2016-05-30 19:55:13 +0200
committervictorfisac <[email protected]>2016-05-30 19:55:13 +0200
commitb0a0c5d4312d05d460cdd12f6af12321b0a55e66 (patch)
tree4f0b5967634052260873fd47f3b9d2418690cdcd /src/rlgl.h
parentf2d61d4043850e89b2d2cb7bacffe628aef0b981 (diff)
downloadraylib-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/rlgl.h')
-rw-r--r--src/rlgl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/rlgl.h b/src/rlgl.h
index dc16e807..23ad29fb 100644
--- a/src/rlgl.h
+++ b/src/rlgl.h
@@ -202,6 +202,7 @@ typedef enum { OPENGL_11 = 1, OPENGL_33, OPENGL_ES_20 } GlVersion;
Texture2D texNormal; // Normal texture
Texture2D texSpecular; // Specular texture
+ Color colTint; // Tint color
Color colDiffuse; // Diffuse color
Color colAmbient; // Ambient color
Color colSpecular; // Specular color