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 two framebuffers with antialiasing turned on
Call begin() on the first one to activate it
Draw something to it
Call begin() on the second one to activate it without deactivating the original
Draw the first one to the second with image()
Call end() on both
Draw the second framebuffer to the screen
The image() call does nothing when antialiasing is turned on due to the fact that we only draw the antialiased renderbuffer to the framebuffer texture when end() is called.
Most appropriate sub-area of p5.js?
p5.js version
1.7.0
Web browser and version
Firefox 114
Operating System
MacOS 12.5.1
Steps to reproduce this
Steps:
begin()
on the first one to activate itbegin()
on the second one to activate it without deactivating the originalimage()
end()
on bothThe
image()
call does nothing when antialiasing is turned on due to the fact that we only draw the antialiased renderbuffer to the framebuffer texture whenend()
is called.Snippet:
With antialiasing turned on:
With antialiasing turned off (expected):
Live: https://editor.p5js.org/davepagurek/sketches/LAmO0RZ5m
The text was updated successfully, but these errors were encountered: