Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

cozman

glBlendFunc in Ortho

This topic is 5805 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I was wondering how glBlendFunc should be called in Ortho mode.. so far I have had no luck in this. I have tried glBlendFunc(GL_ONE,GL_ONE) as well as the standards for 3D, but all either fail to draw the texture or draw the texture with a white background (where there should be none). Any help on this matter would be appreciated.

Share this post


Link to post
Share on other sites
Advertisement
I should say that I''m really not a GL person. I am mainly working in SDL, but some of the drawing code for the engine is being moved to OpenGL for speed reasons. I''ve never done any GL outside Ortho mode, and all I know is that glBlendFunc is what most people have blamed my white-background condition on.

Share this post


Link to post
Share on other sites

  • 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!