http://bugs.winehq.org/show_bug.cgi?id=7284
--- Comment #32 from Alexander Dorofeyev alexd4@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.