http://bugs.winehq.org/show_bug.cgi?id=23496
Summary: Gothic 3 - water is missing Product: Wine Version: 1.1.42 Platform: x86-64 URL: http://www.gothic3.com/index.php?do=097099116105111110 061109101100105097 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: directx-d3d AssignedTo: wine-bugs@winehq.org ReportedBy: kgbricola@web.de CC: hverbeet@gmail.com
Created an attachment (id=29330) --> (http://bugs.winehq.org/attachment.cgi?id=29330) dirty workaround to let the water show again
The water is completely transparent after this commit, which is a regression:
4651dd86bfa0ada56dbff2aecbd90bba1c0b4f5f is the first bad commit commit 4651dd86bfa0ada56dbff2aecbd90bba1c0b4f5f Author: Henri Verbeet hverbeet@codeweavers.com Date: Thu Mar 25 22:51:24 2010 +0100
wined3d: Implement independent color write masks.
:040000 040000 15cac9b5921acbacca205b5661b1dfbe1eebc7c7 5332a8367e523d0f62f53850eef510b44a88c647 M dlls
This could be a driver bug or we have to set the glColorMask for index 0 or the mixing of glColorMask and glColorMaskIndexedEXT calls is a bit tricky. I haven't found the spec for glColorMaskIndexedEXT to have a look.
This happens with a geforce 8800gts, 195.36.24.
http://bugs.winehq.org/show_bug.cgi?id=23496
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, regression
http://bugs.winehq.org/show_bug.cgi?id=23496
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #29330|0 |1 is obsolete| |
--- Comment #1 from Rico kgbricola@web.de 2010-08-08 05:37:11 --- Created an attachment (id=30049) --> (http://bugs.winehq.org/attachment.cgi?id=30049) dirty hack: set the color write mask for rendertarget 1, if needed
Attached is a small hack to set the color write mask for target 1 if there is a render target set. It seems the game expects the color write mask to be set to all targets and not only the target 0. The game never sets D3DRS_COLORWRITEENABLE1/2/3, so I guess it ignores the D3DPMISCCAPS_INDEPENDENTWRITEMASKS flag.
This seems to be a game bug (see http://www.forum-3dcenter.org/vbulletin/archive/index.php/t-325734.html , at least it happens on some ati cards with AA enabled).
http://bugs.winehq.org/show_bug.cgi?id=23496
Rico kgbricola@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution| |INVALID
--- Comment #2 from Rico kgbricola@web.de 2010-08-08 08:37:57 --- This happens only if the option "Weiches Wasser" is enabled. Disabling that option shows the water fine again. This is with gohtic3 1.73. That option was introduced in patch 1.70.
Marking as invalid because of #1.
http://bugs.winehq.org/show_bug.cgi?id=23496
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #3 from Dmitry Timoshkov dmitry@codeweavers.com 2010-08-08 08:59:20 --- Closing invalid.