Files
q3-sydney-qvm/code
Zack Middleton 7426ac2176 OpenGL2: Fix sun rays being affected by the viewport size
Using r_drawSunRays 1, r_hdr 0, cg_viewsize 50 caused the sun rays to
only draw properly in the bottom right quarter of the world viewport.

The scissor rectangle for the world viewport was applied to the first
FBO_FastBlit() in RB_SunRays().

Set glScissor() in FBO_FastBlit() as it's done in FBO_Blit() and
FBO_BlitFromTexture(). Sun rays probably worked correctly with r_hdr 1
because the blit for HDR changed the scissor state.
2024-02-08 16:34:05 -05:00
..
2022-02-05 13:27:42 +00:00
2023-02-19 13:08:36 -05:00
2023-04-19 13:48:26 +01:00
2023-02-19 13:08:36 -05:00
2013-05-30 15:43:21 -05:00