Advertisement

glBlendFunc in Ortho

Started by November 30, 2002 10:51 PM
2 comments, last by cozman 22 years, 3 months ago
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.
Ortho mode has nothing to do with it; if it works in perspective, it will work in ortho.
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.
Sorry.. it turned out to be a simple GL problem as well as a small problem in my own thinking. :D

This topic is closed to new replies.

Advertisement