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

OpenGL2: r_ext_framebuffer_multisample draws flares through mirrors. #121

Open
KuehnhammerTobias opened this Issue May 3, 2015 · 1 comment

Comments

Projects
None yet
3 participants
@KuehnhammerTobias

KuehnhammerTobias commented May 3, 2015

When flares are enabled (r_flares 1), and r_ext_framebuffer_multisample is > 1 than flares are seen through mirrors.

How to reproduce:

  1. Start q3tourney6
  2. set r_flares 1, r_ext_framebuffer_multisample 2.
  3. Go to the BFG platform.
  4. Have a look at the mirror floor at this platform.
  5. You can see the flares from the main platform shining through the mirror floor.

Screenshot from q3tourney6:
shot0003

@ec-

This comment has been minimized.

Show comment
Hide comment
@ec-

ec- May 22, 2017

that's because glReadPixels doesn't work on multisampled FBO, you need to downsample it to regular FBO first, then depth tests will start working again

ec- commented May 22, 2017

that's because glReadPixels doesn't work on multisampled FBO, you need to downsample it to regular FBO first, then depth tests will start working again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment