View on Asset Store (opens in new tab)
Package details
- Latest version
- 0.3
- Last updated
- First released
- Unity version
- 5.5.1 or later
- Package size
- 21 KB
- Files
- 8
- Favorites
- 10
- Views in the past week
- 3
Price tracking
- Last checked
- Tracked since
- Lowest recorded
- $5.00 on
Background Based Text Color Swap
Price $5.00
Buy on Asset Store (opens in new tab)
Affiliate link · Purchases support this site
Price history
Last 6 months
USDAsset preview
1 / 1
Background Based Text Color Swap screenshot 1
About this asset
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).
From the publisher's Asset Store listing.