opengl es - Cocos2D: increasing Sprite Brightness -
is there way adjust brightness of ccsprite without using overlay sprite or creating separate texture? color property doesn't work since can decrease brightness.
i thinking possible overriding draw method , adding opengl calls similar found in http://developer.apple.com/library/ios/#samplecode/glimageprocessing/introduction/intro.html , of attempts have failed , novice @ writing raw opengl. know if possible , calls need made?
although not same brightness, more bright.
[sprite setblendfunc:(ccblendfunc){gl_src_alpha, gl_one}];
Comments
Post a Comment