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

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -