Shadow(Script) Component affected by Sprite shader
Posted: Tue Sep 25, 2018 12:09 pm
Hello,
I was wondering how to create a sprite shader within ASE that doesn't affect the Unity "Shadow(Script)" component, which is very useful in creating a simple shadow for UI elements.
I created a shader that applies a color gradient on a sprite texture that is being used within my Image UI component.
However, this gradient is also applied to the shadow, which I want to be black or whatever color I assign within the "Effect Color" parameter.
Is this a Unity bug? Or is there a way to achieve this through the right configuration in ASE?
Looking forward to an answer from you guys,
Best wishes
I was wondering how to create a sprite shader within ASE that doesn't affect the Unity "Shadow(Script)" component, which is very useful in creating a simple shadow for UI elements.
I created a shader that applies a color gradient on a sprite texture that is being used within my Image UI component.
However, this gradient is also applied to the shadow, which I want to be black or whatever color I assign within the "Effect Color" parameter.
Is this a Unity bug? Or is there a way to achieve this through the right configuration in ASE?
Looking forward to an answer from you guys,
Best wishes