orels1 / orels-Unity-Shaders

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

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

Open orels1 opened 1 month ago

orels1 commented 1 month 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