This issue only occurs on Xash3D and does not occur on the Steam client.
When a Fog message is received with density = 0.0f, fog should be disabled. On Steam this works correctly, but on Xash3D a black fog remains visible.
Client code:
https://github.com/Velaron/cs16-client/blob/main/cl_dll/hud_msg.cpp#L177-L216
https://github.com/Velaron/cs16-client/blob/main/cl_dll/tri.cpp#L24-L44
Reference:
https://forums.alliedmods.net/showpost.php?p=1278860&postcount=13
This issue only occurs on
Xash3Dand does not occur on theSteamclient.When a Fog message is received with
density = 0.0f, fog should be disabled. OnSteamthis works correctly, but onXash3Da black fog remains visible.Client code:
https://github.com/Velaron/cs16-client/blob/main/cl_dll/hud_msg.cpp#L177-L216
https://github.com/Velaron/cs16-client/blob/main/cl_dll/tri.cpp#L24-L44
Reference:
https://forums.alliedmods.net/showpost.php?p=1278860&postcount=13