Aeva / m.grl

Midnight Graphics & Recreation Library
http://mgrl.midnightsisters.org
GNU Lesser General Public License v3.0
44 stars 3 forks source link

add css-style hexidecimal color notation to glsl #179

Closed Aeva closed 8 years ago

Aeva commented 8 years ago

Like so:

vec3 foo = #CCC;
vec3 bar = #887766;
vec4 baz = #aaaa;
vec4 bwe = #887766FF;