ezquake-source
ezquake-source copied to clipboard
BUG: Fog effects obscure the skybox unexpectedly
Please search for existing issues and check for potential duplicates before filing yours.
ezQuake version: 3.2-dev r5245~658f2b8d Note: I separate bug report relates to fog not rendering in 3.6, which is why this is reported on an older version.
OS/device including version: OS: Linux (5.13.12-zen1-1-zen kernel) GPU: Nvidia 3080 - driver 470.63.01 Renderer: Both vid_renderer 0 and vid_renderer 1 are equally effected
Describe the bug When using fog effects, the skybox becomes a flat color of the fog. I had played around with the gl_fogstart and gl_fogend commands to attempt to isolate if this is based on those values, but it appears to be binary - if fog is enabled, the skybox is painted with the color defined with gl_fogred gl_foggreen, and gl_fogblue
To Reproduce Steps to reproduce the behavior:
- Set the following:
-
gl_fog "1"
- `gl_fogstart "400"``
-
gl_fogend "2000"
- Back into the spawn cubby behind RA on dm6 and look slightly up so that you can see the health spawn and the skybox
- Observe that the sky is a solid color.
Expected behavior The skybox should be unaffected by the fog settings... OR... the fog distance settings should be able to affect the affect on the skybox.
Screenshots
gl_fog 1
gl_fog 0
Additional context Related fog rendering issue https://github.com/ezQuake/ezquake-source/issues/578