- Home /
Question by
tmendez · Apr 02, 2017 at 09:58 AM ·
imageruntimealphaalpha-channel
How do you set a texture's `alpha is transparency` at runtime?
Basically, I want to tick this box at runtime:
I can't do it in the inspector because I am pulling a dynamic .png
from CDN using the WWW stuff in Unity. However, when displayed ingame, the images have a white background rather than the .png's alpha layer as shown when viewing the image in a browser or Gimp, or even imported to Unity manually.
2pzq7hu.png
(16.7 kB)
2pzq7hu.png
(16.7 kB)
Comment
Alright you guys I figured it out, it automatically sets alpha to transparency, the image I checked was different than the one I was pulling into the game.