Skip to content

Commit

Permalink
client: render: disable bloom when luminance preview active
Browse files Browse the repository at this point in the history
  • Loading branch information
SNMetamorph committed Mar 11, 2024
1 parent c42ccff commit 2af910c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion client/render/gl_postprocess.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ void RenderSunShafts( void )

void RenderBloom()
{
if (!CVAR_TO_BOOL(r_bloom))
if (!CVAR_TO_BOOL(r_bloom) || CVAR_TO_BOOL(r_show_luminance))
return;

if (FBitSet(RI->params, RP_ENVVIEW)) // no bloom in cubemaps
Expand Down

0 comments on commit 2af910c

Please sign in to comment.