orels1 / orels-Unity-Shaders

A collection of practical Unity shaders for your next project
https://shaders.orels.sh
Other
178 stars 15 forks source link

[ORL-76] Gradient() function doesnt work with `Fixed` blending #78

Open orels1 opened 3 months ago

orels1 commented 3 months ago

Original Post:

https://discord.com/channels/685559043044933680/1265157392308633692

I was able to fix this by inserting the following line at line 74 of GradientDrawer.cs: oldGradCopy.mode = savedGradient.mode;

From SyncLinear.com | ORL-76