Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wantnon2 opened this issue Mar 13, 2015 · 0 comments
Open

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

wantnon2 opened this issue Mar 13, 2015 · 0 comments

Comments

@wantnon2
Copy link
Collaborator

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant