fog issue in ut2004
Submitted by almos
Assigned to Default DRI bug account
Description
Created attachment 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.
Attachment 66251, "pavement wrong.jpg":
Version: git