Rick Posted February 7, 2010 Share Posted February 7, 2010 I can't seem to find or remember how to change the transparency value of a texture I load and draw with DrawImage(). So there is no mat file. I'm looking to do a fade in effect with a GUI. Quote Link to comment Share on other sites More sharing options...
Josh Posted February 7, 2010 Share Posted February 7, 2010 SetBlend(). Quote My job is to make tools you love, with the features you want, and performance you can't live without. Link to comment Share on other sites More sharing options...
Rick Posted February 7, 2010 Author Share Posted February 7, 2010 I see SetColor() was what I was looking for. The SetBlend() worked to give me the normal transparency on the image, but SetColor() allowed me to set the alpha to fade in and out the entire image. Thanks! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.