Skip to content

[WebGL] shader() | setUniform() {Examples} (Fix indent) #3725

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

Merged
merged 2 commits into from
May 4, 2019

Conversation

hsab
Copy link
Member

@hsab hsab commented May 4, 2019

addresses #1954

resolves #3720
resolves #3722
resolves #3723
resolves #3724

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

@stalgiag
Copy link
Contributor

stalgiag commented May 4, 2019

Looks good! Congrats on yr first merge @hsab .

@stalgiag stalgiag merged commit 7208bc6 into processing:master May 4, 2019
@hsab
Copy link
Member Author

hsab commented May 4, 2019

Haha thanks @stalgiag
I hope it's the first of many

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

"eslint-samples:source" issue with "p5.Shader.js"
2 participants