EffectNodes-for-cocos2dx icon indicating copy to clipboard operation
EffectNodes-for-cocos2dx copied to clipboard

v3: pass uniform value should use cocos2dx 3.x style

Open wantnon2 opened this issue 9 years ago • 0 comments

currently in EffectNodes v3, because it's translated from v2, for convenience, i use a customCommand to pass uniform value, this is not efficient and comfortable to code, i should modify it to cocos2dx 3.x style: set uniform values to program and cache, but do not pass to glProgram immediately, actual pass uniform values happens automatically when the command is being executed. reference to cocos2dx 3.x samples.

wantnon2 avatar Mar 13 '15 10:03 wantnon2