Fog blending/banding issues
Flecked42 opened this issue · comments
QuakeSpasm
Ironwail
I cranked gamma/contrast to max to see it better.
Map is w1m7 from SMEJ https://www.quaddicted.com/filebase/smej_1.13.zip
If it's restricted to that map only, then it's minor. Unless someone has a well-tested patch for it..
In any case, is the issue present in latest release (0.95.1), or is it a regression in git?
CC: @ericwa, @andrei-drexler
Novum mentioned something about using a "10bit color buffer" #47 (comment)
If you or others have a well-tested patch, I'd review and apply it. Otherwise, this will stay as is.
The map uses a grey fog with a value of 0.01
, so in an 8-bit framebuffer there are basically at most 4 distinct color values between black and full-intensity fog (inclusively). Cranking up the gamma/contrast only makes things worse. A 10-bit framebuffer would indeed help, but there would still be significant banding with these exaggerated gamma/contrast settings. Besides the 10-bit framebuffer IW also adds a microscopic amount of dithering to all the shaders specifically to avoid banding, but I think that might be a bit overkill for QS.
Thanks for the info. Yea the gamma/contrast was way exaggerated just to show it better.
OK then. Closing as WONTFIX.