Jump to content
  • Advertisement
Sign in to follow this  
  • entries
    570
  • comments
    2427
  • views
    216937

Untitled

Sign in to follow this  
Mushu

57 views

Note to self:

When applying an alpha value to an SDL surface, make sure that said surface has an alpha channel to begin with.

Note to self:

When using alpha in OpenGL, remember to enable GL_BLEND. And to define a blend function appropriate for your needs.

Note to self:

Banging head on keyboard when alpha testing fails to work ultimately will result in a broken keyboard and/or severe headaches in the morning.
Sign in to follow this  


2 Comments


Recommended Comments

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
  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!