[Bug 27733] Fishdom 2: some fish render purple

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Aug 29 16:17:20 CDT 2011


http://bugs.winehq.org/show_bug.cgi?id=27733

Matteo Bruni <matteo.mystral at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |matteo.mystral at gmail.com

--- Comment #2 from Matteo Bruni <matteo.mystral at gmail.com> 2011-08-29 16:17:19 CDT ---
I looked into this some time ago and I sent some tests to show the issue
(that's afd1fe43890026540703c9bc146fba49da316325 et al.) but I forgot to
comment...

Essentially: those tests show that D3D has a specific (and consistent) behavior
with fog when there is an orthogonal projection matrix set. Unfortunately, it
does not match OpenGL's fixed function pipeline behavior, so in these specific
circumstances we get an erroneous fog. This is exactly what causes the purple
fishes here: they are actually completely fogged out.

There is no way, apparently, to change OpenGL behavior accordingly (i.e. by
means of a GL extension): the only reasonable fix for this issue is to
implement a shader-based fixed function replacement pipeline. So, different
reason, but same 'prescription' as bug 6955. This doesn't mean that the hacks
from bug 6955 are going to help here, just that the "real fix" for both those
bugs requires, well, a lot of work...

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list