Setting Blend Function to Sprite in cocos2d-x
Using: http://www.andersriggelsen.dk/glblendfunc.php Follows how to set a blend function to a sprite in cocos2d-x. auto sprite= Sprite::createWIthSpriteFrameName(“glow”); cocos2d::BlendFunc bf= {GL_SRC_COLOR, GL_ONE};
Continue reading
Recent Comments