Jump to content

  • Log In with Google      Sign In   
  • Create Account


Alpha blending


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 zhech   Members   -  Reputation: 122

Like
Likes
Like

Posted 31 July 2001 - 10:27 AM

I''m loading a .tga file and have loaded in the GL_RGBA format. I want to use the alpha value for alpa blending. I had it working for a second then I don''t have a clue what happened and it stopped. Does anyone have any ideas?

Sponsor:

#2 jerry2   Members   -  Reputation: 122

Like
Likes
Like

Posted 31 July 2001 - 01:54 PM

you can use the glBlendFunc to set pixel arithmetic,use the glAlphaFunc to set alpha test,and use glEnable(GL_BLEND)to enable alpha blending.the particular ways please see the OpenGl function reference.

jerry2

#3 zedzeek   Members   -  Reputation: 528

Like
Likes
Like

Posted 31 July 2001 - 05:19 PM

see my site for a recent app that shows how opengl blending works




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS