Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 05-27-2009, 08:42 PM   #1 (permalink)
ob1
Registered Member
 
ob1's Avatar
 
Join Date: Mar 2009
Location: Switzerland
Age: 35
Posts: 97
Default Cocos2D OpenGL Blend

I am totally new at OpenGL (and Cocos2D for that matter) and I have a little problem with my game.

One of the sprite that the gfx guy gave me needs the equivalent of the Photoshop "screen" blending. I read on forums that you can have the equivalent in OpenGl by changing the parameters of glBlendFunc.

Now, if I change the blend values in ccMacros, this sprite is perfect, but of course others are totally off. So my question is, how do I set the blendFunc for just one sprite ?

Thanks.
__________________
Isometric Traffic Management Game with stunning artwork:

AutoTrafego
ob1 is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,847
Threads: 89,213
Posts: 380,661
Top Poster: BrianSlick (7,129)
Welcome to our newest member, Leroy2027
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 04:38 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.