Publisher | One Guy Coding |
---|---|
File size | 20.80kB |
Number of files | 8 |
Latest version | 0 |
Latest release date | 2017-02-08 01:10:31 |
First release date | 2017-02-08 01:10:31 |
Supported Unity versions | 2018.4.2 or higher |
This simple shader will dynamically swap the Color of UI Text between two user-defined colors, based on which of the two has a higher contrast with the background color.
This is very useful if you want the text to be readable, regardless of the background color.
Currently only works for certain on Desktop. Will be testing on IOS and Android and updating as necessary very soon!
I will also be releasing a shader pack which will incorporate this and other shaders which people will hopefully find helpful (or at least interesting).