blog
games
developers
documentation
portfolio
gallery
Documentation:
Welcome
Drop on Unity
Listbox
SimpleCollada
SimpleJSON
SimpleLOD
SimpleObj
SimpleXML
Texture2D+
Import Settings
Using Texture2D+
Crop()
Scale()
Rotate()
Hue()
Saturation()
Brightness()
ChangeHSB()
Luminance()
Contrast()
Colorize()
Mirror()
MakeColorTransparent()
ReplaceColor()
FadeToColor()
Copying textures
GetAverageColor()
Normal maps
FadeToColor()
void FadeToColor(Color color, float amount)
Will change the color of all pixels to match the specified color. When amount is 1, all pixels will be identical.
You can use this to fade textures to the fog or background color color
Tweet
follow us