Bug 54174 - fog issue in ut2004
Summary: fog issue in ut2004
Status: RESOLVED MOVED
Alias: None
Product: Mesa
Classification: Unclassified
Component: Drivers/Gallium/r600 (show other bugs)
Version: git
Hardware: Other All
: medium normal
Assignee: Default DRI bug account
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-28 22:57 UTC by almos
Modified: 2019-09-18 19:00 UTC (History)
0 users

See Also:
i915 platform:
i915 features:


Attachments
pavement wrong.jpg (210.15 KB, image/jpeg)
2012-08-28 22:57 UTC, almos
Details
pavement good.jpg (185.00 KB, image/jpeg)
2012-08-28 22:57 UTC, almos
Details

Description almos 2012-08-28 22:57:10 UTC
Created attachment 66251 [details]
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.
Comment 1 almos 2012-08-28 22:57:43 UTC
Created attachment 66252 [details]
pavement good.jpg
Comment 2 almos 2014-05-24 20:36:26 UTC
With Mesa 10.1 this problem still remains.
Comment 3 GitLab Migration User 2019-09-18 19:00:42 UTC
-- GitLab Migration Automatic Message --

This bug has been migrated to freedesktop.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.freedesktop.org/mesa/mesa/issues/416.


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.