[Bug 7284] Max Payne 2 light reflections on people are too bright and blocky

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Mar 28 19:57:36 CDT 2009


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





--- Comment #32 from Alexander Dorofeyev <alexd4 at inbox.lv>  2009-03-28 19:57:35 ---
Created an attachment (id=20180)
 --> (http://bugs.winehq.org/attachment.cgi?id=20180)
hack for rcp in glsl backend

As an experiment, this simple hack for glsl shader backend seems to actually
fix lighting in the game, it clamps result of rcp.

Though proper fix probably will need to be done conditionally (need to check my
theory that this is influenced by shader model version) and if indeed 1.x
differs from 2.x and later in such ways (generating and propagating Inf and NaN
vs clamping to some border value), then it's probably a broader issue and may
also be affecting other opcodes like rsq.


-- 
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