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

OpenGL2: r_ext_multisample > 0 breaks r_drawSunRays 1 (without HDR or FB-MSAA) #637

Open
zturtleman opened this issue Feb 10, 2024 · 1 comment

Comments

@zturtleman
Copy link
Member

r_drawSunRays 1 works with r_ext_framebuffer_multisample > 0 but not r_ext_multisample > 0 (multisample on default framebuffer). I guess it's not valid to read part of the multisample default framebuffer?

In OpenGL2, HUD models are drawn to the default framebuffer directly and are affected by r_ext_multisample and not r_ext_framebuffer_multisample. So r_ext_multisample is still valid to use but it also breaks r_drawSunRays 1. I'm not sure the best way to make both of these work at the moment.

@zturtleman
Copy link
Member Author

As of f9547e4, r_ext_multisample > 0 only breaks r_drawSunRays 1 if not using r_hdr 1 (the default) and not using r_ext_framebuffer_multisample > 0.

@zturtleman zturtleman changed the title OpenGL2: r_ext_multisample > 0 breaks r_drawSunRays 1 OpenGL2: r_ext_multisample > 0 breaks r_drawSunRays 1 (without HDR or FB-MSAA) Mar 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant