Skip to content

Fix framebuffer blur vertex shader for p5.js 2.0#1460

Closed
vamshi567bh wants to merge 2 commits into
processing:2.0from
vamshi567bh:fix/framebuffer-blur-example
Closed

Fix framebuffer blur vertex shader for p5.js 2.0#1460
vamshi567bh wants to merge 2 commits into
processing:2.0from
vamshi567bh:fix/framebuffer-blur-example

Conversation

@vamshi567bh

Copy link
Copy Markdown

Updates the Framebuffer Blur example vertex shader to use separate uModelMatrix + uViewMatrix uniforms instead of the deprecated uModelViewMatrix uniform. This fixes the incorrect matrix multiplication order that caused crescent-shaped distortion.

Fixes #8940

@ksen0

ksen0 commented Jun 23, 2026

Copy link
Copy Markdown
Member

This should not be necessary, the GLSL code works on p5.js 1.x. The reason the example is broken is because of how the library has changed in 2.x, which was not intentional. I understand the approach and in another context it could apply, but in this case it misses the purpose of processing/p5.js#8940 which is to address a regression from 1.x to 2.x. Sorry, and thanks for understanding!

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.

3 participants