diff options
| author | victorfisac <[email protected]> | 2016-05-30 19:55:13 +0200 |
|---|---|---|
| committer | victorfisac <[email protected]> | 2016-05-30 19:55:13 +0200 |
| commit | b0a0c5d4312d05d460cdd12f6af12321b0a55e66 (patch) | |
| tree | 4f0b5967634052260873fd47f3b9d2418690cdcd /src/rlgl.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/rlgl.h')
| -rw-r--r-- | src/rlgl.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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 |
