ezquake-source icon indicating copy to clipboard operation
ezquake-source copied to clipboard

BUG: Fog effects obscure the skybox unexpectedly

Open ginzberg opened this issue 3 years ago • 0 comments

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:

  1. Set the following:
  • gl_fog "1"
  • `gl_fogstart "400"``
  • gl_fogend "2000"
  1. Back into the spawn cubby behind RA on dm6 and look slightly up so that you can see the health spawn and the skybox
  2. 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 ezquake006

gl_fog 0 ezquake007

Additional context Related fog rendering issue https://github.com/ezQuake/ezquake-source/issues/578

ginzberg avatar Aug 22 '21 12:08 ginzberg