mirror of
https://github.com/raysan5/raylib.git
synced 2026-01-26 08:59:16 -05:00
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:
@ -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
|
||||
|
||||
Reference in New Issue
Block a user