http://bugs.winehq.org/show_bug.cgi?id=26490
--- Comment #4 from GyB gyebro69@gmail.com 2011-03-20 10:07:55 CDT --- (In reply to comment #3)
Does winetricks glsl-disable happen to work around it?
Nope. Disabling vertex shaders does workaround the issue (but it disables most of the nice effects in the game).
Here's the result of my regression test:
91ac0c37b1f36978d8bf974daf24ad9c77d49d6f is the first bad commit commit 91ac0c37b1f36978d8bf974daf24ad9c77d49d6f Author: Henri Verbeet hverbeet@codeweavers.com Date: Mon Jan 24 18:41:16 2011 +0100
wined3d: Disable vertex shader output clamping.
It looks like NV50+ hardware gets you infinities and NaN's in D3D as well for most things, so we should only need special handling for pow and nrm.
Already mentioned in bug #25965.
The patch can be reverted cleanly on Wine-1.3.16 and that fixed the problem for me.
The same commit causes similar visual glitches in Spellforce on my system, when shadowtype is set to 'normal' in the options menu: tall, black column-like objects appear on the screen in Spellforce.