protonscr

[d3d8] Sea Dogs/Age of Pirates 2: City of Abandoned Ships fog issues

dxvkclosed bugd3d9d3d8
doitsujin/dxvk#5165 · opened 2025-08-22 by WinterSnowfall · updated 2026-06-19 · 1 comments · github
WWinterSnowfall 2025-08-22 github

There is something wrong with how we apply clip planes, or how they interact with fog in this game, because distant geometry appears unclipped/unfogged when it should be both.

The issue can be reproduced with the attached trace (see the topside contour of the mountain on the distant island). It can also be observed with d3d8to9 + dxvk, so it's not something specific to d3d8.

P.S.: How do I know this is about clip planes? The game has a config option setting for the far clip plane depth. If I increase that by a ridiculous amount, things start to look correctly.

Software information

Sea Dogs (aka Age of Pirates 2): City of Abandoned Ships

System information

  • GPU: Nvidia 4070
  • Driver: 570.181
  • Wine version: 10.13
  • DXVK version: 2.7+

Apitrace file(s)

Sea_Dogs.trace.zstd

Log files

N/A

WWinterSnowfall 2025-08-22 github

P.S.: The first game in the series, Sea Dogs - Caribbean Tales, which uses the same engine, has the same problem.

Nothing extracted yet.