http://bugs.winehq.org/show_bug.cgi?id=16997
--- Comment #46 from Caladan a.vankaam@chello.nl 2009-02-24 13:25:35 --- Hello Stefan
as Knan said the patch did not change a thing.
if I use 1.1.12 to play there are no fixme related to shaders, I will attach the log.
did a new regresion between 1.1.12 and 1.1.15, 861 revisions :) and it came up again with:
1deafcb5a758ba7c88e498718a3186d6b526fe71 is first bad commit commit 1deafcb5a758ba7c88e498718a3186d6b526fe71 Author: Stefan Dösinger stefan@codeweavers.com Date: Mon Dec 15 19:37:36 2008 +0100
wined3d: Split the remains of state_fog.
:040000 040000 39455d30afadc1d21664e6730064c5028aa2c3eb 91e5b3d98e7cd72aa61dd8eac1058792d5fce9a7 M dlls
I played a bit with the original patch and specificly the arb_program_shader.c, the original patch had basicly 2 changes in there, lot of new code at "static void state_arbfp_fog" and 2 lines at "static void textransform".
I removed the whole set of new code in "static void state_arbfp_fog" and there was no diffrence, so placed it back.
then removed the 2 lines at "static void textransform" (the FOGSTART en FOGEND lines). Only diffrence for the fog/icons was that black was still black but gold was now dark grey. So probably useless info this.
Anyways, just turning 1 pixel is enough to make it change. It's like the fog/smoke loses it's transparency and/or color and just turns pitch black thus obscuring what ever is behind it.
It is easiest to explain in 3rd person view in game, If you if you take a compass:
from around 10 degree's turning clockwise to 190 degree's all is ok, from 190 degree's turning clockwise to 10 degree's fog/icons are black, this goes for all fog/icons infront of me, beside me, behind me and far away in the distance. Stepping side way and looking at a fixed direction, so the fog/icons infront of me moves left or right of me, does not mather, its really the direction of the camera.
The height of your camera changes it a bit as does 1st person view but in general looking east (270 degree) the fog is black.
I made a recording with "Record my desktop" to show you what I mean, it isnt that great but should show you what I mean, you can see 2 icons close and 2 in the distance, all go black at the same time when I turn and gold again, all depending on my direction, side stepping does not effect it, only turning. I will attach is also (if not to big else post it) hope it helps you a bit further.