How to create gradient backgrounds in Unity?

Someone asked how to create gradient backgrounds in Unity on Unity Answers and Eric5h5 gave an awesome answer:

Screen Shot 2015-01-30 at 9.58.27 AM

This 1×2 pixel picture in Photoshop…

Screen Shot 2015-01-30 at 10.00.25 AM

Can turn into this:

Screen Shot 2015-01-30 at 10.01.37 AM

Pretty awesome, right? Thanks Eric5h5!

Advertisements