do not apply modulate on canvas when unshaded is set
This commit is contained in:
parent
15ac442247
commit
125f0be8b7
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue