Sign in to follow this  

Fade out using SlimDX

Recommended Posts

CdrTomalak    272

I'm trying to fade out my sprites in my 2d game using SlimDX. I've noted how it's done in XNA (, but how would I do it in SlimDX?


I'm using SpriteTextRenderer as my sprite batch renderer class, which accepts a Color4 (with alpha) as a parameter to the Draw() method, but passing Color4(255,255,255,255) does not result in a full brightness non-faded sprite, so I'm doing something wrong clearly.


Any ideas?

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this