Re: [2/5] WineD3D: Fix the z range
Aug. 31, 2007
11:12 a.m.
Am Freitag, 31. August 2007 17:20 schrieb Stefan Dösinger: Do not apply this patch yet, it breaks half life 2. There's something about the minZ and maxZ values in the viewport that we have to take into account.
August 2007
2:02 p.m.
New subject: [2/5] WineD3D: Fix the z range
Am Freitag, 31. August 2007 18:12 schrieb Stefan Dösinger: > Am Freitag, 31. August 2007 17:20 schrieb Stefan Dösinger: > Do not apply this patch yet, it breaks half life 2. There's something about > the minZ and maxZ values in the viewport that we have to take into account. Use the attached patch instead. The problem wasn't the viewport, but the homogenous division which takes place after the vertex shader. So to achive a + 1.0 in homogenous space, we have to add position.w to .z, not 1.0.
6827
Age (days ago)
6827
Last active (days ago)
1 comments
1 participants
participants (1)
-
Stefan Dösinger