tags:

views:

13

answers:

1

I have setup some CCSprites and enabled additive blending on them.

[sprite setBlendFunc: (ccBlendFunc) { GL_ONE, GL_ONE }];

Now they look really nice dropping into the scene if I set my CCColorLayer to black

[super initWithColor:(ccColor4B){0,0,0,255}]

However I don't want a black background, if I set this to say a light grey then the sprites become washed out.

Is it possible to have the sprites ignore the background during their blend calculations?

Thanks in advance

A: 

While I can't answer that I would suggest you post this question on the Cocos2D forums. You're much more likely to get an answer there.

Rob Segal