You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Create a framebuffer that's a different size from the main canvas
Apply a filter shader to it
Do something to see the contents of the framebuffer (e.g. draw it to the main canvas or save it to an image)
The framebuffer's contents have been scaled incorrectly. This is due to the fact that we're accidentally drawing images at the size of the renderer, not the size of the target, which might be different:
Most appropriate sub-area of p5.js?
p5.js version
1.9.0 and 1.9.1
Web browser and version
Firefox 117
Operating system
MacOS 14.2.1
Steps to reproduce this
Steps:
The framebuffer's contents have been scaled incorrectly. This is due to the fact that we're accidentally drawing images at the size of the renderer, not the size of the target, which might be different:
p5.js/src/webgl/p5.RendererGL.js
Lines 1128 to 1129 in 3d45ce9
Snippet:
Live: https://editor.p5js.org/davepagurek/sketches/YVRQq7Bqy
The text was updated successfully, but these errors were encountered: