mirror of
https://github.com/godotengine/godot.git
synced 2025-01-18 20:40:57 +08:00
do not apply modulate on canvas when unshaded is set
This commit is contained in:
parent
15ac442247
commit
125f0be8b7
@ -597,7 +597,7 @@ void main() {
|
||||
|
||||
#ifdef MODE_LIGHT_ONLY
|
||||
color = vec4(0.0);
|
||||
#else
|
||||
#elif !defined(MODE_UNSHADED)
|
||||
color *= canvas_data.canvas_modulation;
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user