Quote:
Originally Posted by ob1
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.
|
You need to group your sprites based on their blending properties.
This is generally handled by using a separate sprite atlas for different blending modes.