Skip to content

Conversation

@perminder-17
Copy link
Collaborator

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.

*
* async function setup() {
* myShader = await loadFilterShader('assets/shader.frag');
* myShader = await loadFilterShader('assets/basic.frag');
Copy link
Collaborator 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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants