do not apply modulate on canvas when unshaded is set

This commit is contained in:
Miguel Gonzalez Sanchez 2022-09-25 12:13:46 +01:00
parent 15ac442247
commit 125f0be8b7
No known key found for this signature in database
GPG key ID: A20E7F0DB5FEE506

View file

@ -597,7 +597,7 @@ void main() {
#ifdef MODE_LIGHT_ONLY #ifdef MODE_LIGHT_ONLY
color = vec4(0.0); color = vec4(0.0);
#else #elif !defined(MODE_UNSHADED)
color *= canvas_data.canvas_modulation; color *= canvas_data.canvas_modulation;
#endif #endif