Skip to content

Commit

Permalink
Fix excessive alias dithering with r_softemu 2
Browse files Browse the repository at this point in the history
and r_softemu_mdl_warp 1
  • Loading branch information
andrei-drexler committed Sep 9, 2024
1 parent 355c8fb commit bb77454
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Quake/gl_shaders.h
Original file line number Diff line number Diff line change
Expand Up @@ -1184,7 +1184,7 @@ OIT_OUTPUT (out_fragcolor)
" fog = clamp(fog, 0.0, 1.0);\n"
" result.rgb = mix(Fog.rgb, result.rgb, fog);\n"
" out_fragcolor = result;\n"
"#if MODE == " QS_STRINGIFY (ALIASSHADER_DITHER) "\n"
"#if MODE == " QS_STRINGIFY (ALIASSHADER_DITHER) " || MODE == " QS_STRINGIFY (ALIASSHADER_NOPERSP) "\n"
" // Note: sign bit is used as overbright flag\n"
" if (abs(Fog.w) > 0.)\n"
" {\n"
Expand Down

0 comments on commit bb77454

Please sign in to comment.