mirror of
https://github.com/mob-sakai/UIEffect.git
synced 2026-11-21 02:12:37 +08:00
Fixed: Color effect is incorrect. #19
This commit is contained in:
@@ -171,7 +171,7 @@ Shader "UI/Hidden/UI-Effect"
|
||||
#endif
|
||||
|
||||
#if defined (UI_COLOR)
|
||||
color = ApplyColorEffect(color, IN.colorFactor); // Color effect.
|
||||
color = ApplyColorEffect(color, IN.colorFactor) * IN.color; // Color effect.
|
||||
#endif
|
||||
|
||||
return color;
|
||||
|
||||
Reference in New Issue
Block a user