Sign in to follow this  

Unity [SFML] Alpha Blending

Recommended Posts

what would you put for the other colors other than the alpha? would you leave them at 255 for each red, green, and blue so they are fully saturated and just put a variable for the alpha?


int alpha = 100;
sf::Color sprite_color(255,255,255, alpha);

would that work?

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