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: (no subject)




On May 14, 2007, at 2:47 PM, James Walker wrote:

Andy O'Meara wrote:
As OGLers here know, one regularly needs to upload textures that have an alpha channel (with non-multiplied RGB).
Pardon my ignorance, but why? If you just want to apply an RGBA texture, you can use premultiplied alpha.

Indeed. The WindowServer uses pre-multiplied ARGB data from window backing stores all the time:


glBlendFunc(GL_ONE, GL_ONE_MINUS_SRC_ALPHA) is your friend. ;)

-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: 
 >(no subject) (From: Andy O'Meara <email@hidden>)
 >Re: (no subject) (From: James Walker <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.