-
Notifications
You must be signed in to change notification settings - Fork 322
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
[Q]Draw to screen works good but FBO not. #646
Comments
I want to read the fbo data. Should I call function |
OMG, works if I set const fbo = regl.framebuffer({ width, height, depth: false }); BUT WHY? |
Just as an FYI for anyone with the same issue: when The issue here is that when the depth buffer is enabled, the default value of 0 is already representing an extremely close depth so no fragments are rendered |
Problem
When I use regl command with a simple shader code, and set a framebuffer property.The result pixel always filled with ZERO.
I think there's sth went wrong in my code.
With FBO
Without FBO
The text was updated successfully, but these errors were encountered: