added RGBA hex color parsing for GLSL, fixed alpha blending bug

This commit is contained in:
Jarcode
2018-02-07 19:29:56 -08:00
parent 79d391938d
commit aea30abf67
6 changed files with 112 additions and 30 deletions

View File

@@ -17,7 +17,7 @@
/* actual color definition */
#define COLOR vec4((0.3 + RCOL_OFF) + LSTEP, 0.6 - LSTEP, (0.3 + LCOL_OFF) + LSTEP, 1)
/* outline color */
#define OUTLINE vec4(0.15, 0.15, 0.15, 1)
#define OUTLINE #262626
/* 1 to invert (vertically), 0 otherwise */
#define INVERT 0