http://bugs.winehq.org/show_bug.cgi?id=19306
Stefan Dösinger stefandoesinger@gmx.at changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords|regression | CC| |stefandoesinger@gmx.at
--- Comment #2 from Stefan Dösinger stefandoesinger@gmx.at 2009-07-13 10:48:43 --- Not a regression, even though it seems like one.
These patches were specifically written to enable Trackmania's PC3 (Shader Model 3) renderer. The problem of this renderer is that it needs 255 vertex shader constants in a shader, and our GLSL backend cannot provide this(yet).
You can configure the game to use its Shader Model 2 codepath, which will give you the old graphics back, with working cars, but less details. Or you can use the ARB backend if you have an Nvidia card. ARB has a tighter control over the used shader constants, so we can get all the 255 constants the game needs. The third alternative is to buy a geforce 8 card, which supports 4096 shader constants. (Even ARB cannot provide the 256'th vertex shader constant however)
We can provide those 255 shader constants on dx9 cards with GLSL too, but it would be a set of ugly hacks, and just work by sheer luck because the shader in question does not trigger any condition when the GLSL compiler has to load some private constants.