I want to make a sprite to color-inverted effect . Just like

to

I use
[sprite setBlendFunc:(ccBlendFunc){GL_ONE_MINUS_DST_COLOR, GL_ZERO}];
but it's not I want.
How to do to make color-inverted effect in cocos2d?
A fast, easy to use, free, and community supported 2D game engine
I want to make a sprite to color-inverted effect . Just like

to

I use
[sprite setBlendFunc:(ccBlendFunc){GL_ONE_MINUS_DST_COLOR, GL_ZERO}];
but it's not I want.
How to do to make color-inverted effect in cocos2d?
did you try GL_ONE_MINUS_SRC_COLOR ?
You must log in to post.