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

Multisampled FBO shows random artifacts when resizing #4

Closed
hageldave opened this issue May 12, 2019 · 1 comment
Closed

Multisampled FBO shows random artifacts when resizing #4

hageldave opened this issue May 12, 2019 · 1 comment

Comments

@hageldave
Copy link
Owner

When resizing the FBOCanvas, sometimes there are artifacts looking like a non written texture in the upper area right.
Until now I confirmed with an empty canvas where no shaders write to the FBO and the FBO is blit to the back buffer right away that the issue persists.
Another test using a shader that draws a viewport filling qhite quad could not recreate the issue, so I'm assuming it has something to do with the drawbuffer not being fully drawn to.

As a fix the FBOCanvas can draw the clear colors using a viewport filling quad at the start of the rendering sequence.

@hageldave
Copy link
Owner Author

Done as of 355af9e

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

No branches or pull requests

1 participant