Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Draw multiple textures with additive alpha




On May 16, 2008, at 1:17 PM, Richard Salvatierra wrote:

Is glBlendMode() the same as glBlendFunc()

This was not working. Continues to show the background (semi opaque)

[vid_A bindCurrentTexture]; 
glBlendFunc(GL_ALPHA, GL_ZERO); 

This has to be GL_SRC_ALPHA.   GL_ALPHA is not an accepted parameter for glBlendFunc(), so your call is probably being ignored.

-Ken

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Mac-opengl mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/mac-opengl/email@hidden

This email sent to email@hidden

References: 
 >Draw multiple textures with additive alpha (From: Richard Salvatierra <email@hidden>)
 >Re: Draw multiple textures with additive alpha (From: Kenneth Dyke <email@hidden>)
 >Re: Draw multiple textures with additive alpha (From: Richard Salvatierra <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.