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

loadFilterShader fixes #7636

Merged
merged 4 commits into from
Mar 15, 2025

Conversation

perminder-17
Copy link
Contributor

While working on the docs with loadFilterShaders, I noticed a bug saying

t._validateParameters is not a function.

Not adding a parameters validation fixes the issue.

@@ -533,7 +533,7 @@ function material(p5, fn){
* let myShader;
*
* async function setup() {
* myShader = await loadFilterShader('assets/shader.frag');
* myShader = await loadFilterShader('assets/basic.frag');
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

there were some linking issue with vertex shader from shader.frag, so using basic.frag

Screenshot from 2025-03-16 03-50-04

Copy link
Contributor

@davepagurek davepagurek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for catching this, I thought we removed all instances of it but I guess we missed this one!

@davepagurek davepagurek merged commit 762f58b into processing:dev-2.0 Mar 15, 2025
2 checks passed
@perminder-17 perminder-17 deleted the loadFilterShader-docs branch March 15, 2025 22:50
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.

None yet

2 participants