I have made a texture render that I have applied to a camera in my scene. I was wondering if its possible to add this texture to a GUI window so I can get a little display window in my GUI, so I get a result like this (top left):
I recomend using 32bit bitmaps with alpha channel. In general 24bit bitmpas (Something like Windows BMP or JPG) have Red,Gren and Blue (aka RGB) per each pixel, wich means that they can only suport opaque color. With 32bit you are getting 8 bits more per each pixel, and you can save transparency for it in range from 0.0 to 1.0. (0.0 is min, 0.5 is in the middle and 1.0 max) You can create such bitmpas easily with tools like GIMP or Photoshop. I recommand saving your bitmaps to TGA or PNG format. (Unity supports both)
32bit bitmaps with alpha channel are also know as RGBA
p.p.s. U can use http://google.com for more on bitmaps ;)
answered Nov 27 '10 at 12:23 AM
Managed to get it to work. I used this in the GUI function:
How would I apply a slight transparency to it?
answered Nov 26 '10 at 06:47 PM