Merge pull request #49863 from groud/fix_mesh2d_modulation

Fixes Mesh2D drawn without modulation
This commit is contained in:
Rémi Verschelde 2021-06-23 18:14:59 +02:00 committed by GitHub
commit 3cb153f746
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

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;