Reading docs is always a good plan:
http://docs.unity3d.com/ScriptReference/Texture2D.GetPixel.html
So, yes, you can read a colour from a texture. So, you could iterate over each pixel, and if it's not white create a cube in 3d space.
↧