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.
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.