Fixes Mesh2D drawn without modulation

This commit is contained in:
Gilles Roudière 2021-06-23 17:38:31 +02:00
parent 52984a3915
commit ccbf31685d

View file

@ -65,7 +65,7 @@ void main() {
#elif defined(USE_ATTRIBUTES)
vec2 vertex = vertex_attrib;
vec4 color = color_attrib;
vec4 color = color_attrib * draw_data.modulation;
vec2 uv = uv_attrib;
uvec4 bones = bone_attrib;