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

[WebGL] shader() | setUniform() {Examples} #3724

Closed
wants to merge 2 commits into from

Conversation

hsab
Copy link
Member

@hsab hsab commented May 4, 2019

Please refer to #3723 before merging.
I had to use --no-verify with husky to bypass the strange eslint-source issue. I'm sure merging without addressing #3723 will cause a headache for other developers.

addresses #1954

resolves #3720
resolves #3722

shader() example: extends the loadShader() example to allow for toggling between 2 shaders on mouse click/press.
setUniform() example: alternative to the above, using the setUniform function to modify uniforms. Based on this comment by @stalgiag on PR #3722

@hsab hsab closed this May 4, 2019
@hsab hsab deleted the setUniform-shader-examples branch May 14, 2019 21:13
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

Successfully merging this pull request may close these issues.

1 participant