http://bugs.winehq.org/show_bug.cgi?id=14762
--- Comment #22 from Tobias Jakobi liquid.acid@gmx.net 2008-11-24 17:16:49 --- Created an attachment (id=17438) --> (http://bugs.winehq.org/attachment.cgi?id=17438) Small hack to de-normalize texcoords when used in RECT samplers
This hack just adds a new constant vec2 to the GLSL preamble, containing the dimensions of the first rendertarget / backbuffer.
This is then used in pshader_glsl_tex to scale the texcoords when a RECT sampler is used.
This works for me and fixes the issues for all three games. HL2 intro sequence works, all PP effect for Max Payne 2 work and FEAR no longer has issues for it's bullettime effect plus the flame effect is also correct now.