https://bugs.freedesktop.org/show_bug.cgi?id=54174
Bug #: 54174 Summary: fog issue in ut2004 Classification: Unclassified Product: Mesa Version: git Platform: Other OS/Version: All Status: NEW Severity: normal Priority: medium Component: Drivers/Gallium/r600 AssignedTo: dri-devel@lists.freedesktop.org ReportedBy: aaalmosss@gmail.com
Created attachment 66251 --> https://bugs.freedesktop.org/attachment.cgi?id=66251 pavement wrong.jpg
Fog seems to be rendered incorrectly in the game: whole objects get the same fog value based on their farthest vertex from the z=0 plane. Best seen on these maps:
as-fallencity: the road to the first objective is white when looking in the direction of the barricade or away from it, normal when looking in the direction of the spawn positions (see attached screenshots); other road segments are also affected, but this one is the most apparent
dm-albatross, as-junkyard: the clouds in the sky are only visible when looking at certain angles, but are fogged otherwise
So far I considered this a bug in the linux port of the game, but now I managed to try the game with d3d renderer through wine, and the fog problem appeared the same way as with the linux port. It's also possible, though unlikely, that the same bug exists in the linux port of the game and in wine-d3d.