[Bug 14762] GeforceFX series: fullscreen PP effect issues / RECT texcoord fixup

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Nov 24 17:16:50 CST 2008


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





--- Comment #22 from Tobias Jakobi <liquid.acid at 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.


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