View Full Version : Fading an object in/out
03-31-2003, 12:32 AM
Just curious ... I figured out how to fade an entire screen but how do you go about fading an object say a cube or sphere ?
04-01-2003, 09:22 AM
Well, if you already know how to fade entire screen it shouldn't be any problem to fade an object. Hope you are using alpha blending for your fading, aren't you? So you can just draw some rectangle in the place of the object you want to fade and just change the transparency. Another way is to change the color of the object right away without drawing any rectangels.
Hope it helped!
Powered by vBulletin® Version 4.2.3 Copyright © 2016 vBulletin Solutions, Inc. All rights reserved.