From: Eric A. <et...@lc...> - 2004-10-13 01:51:54
|
On Tue, 2004-10-12 at 15:18, Roland Scheidegger wrote: > Eric Anholt wrote: > > This one is nowhere near as thoroughly tested as previous ones. YMMV. > Certain textures in ut2k3/ut2k4 are still broken (all ground textures in > dm-antalus). Water reflection in the same map is also broken (this > worked in ut2k4 before (though I have some doubts the texcoords were > actually correct but it looked at least somewhat reasonable) but didn't > look correct in ut2k3). Don't have that map :( > DoomIII (as Adam already mentioned) has some serious errors, some levels > are completely dark due to "missing" textures. This is caused by the > TEX_PROC_CTL_2 stuff, removing that fixes it - I'm not sure, but I think > this register just doesn't do what we think it does. Maybe the > r200/rv250 just can't do mixed texgen/non-texgen, afterall I believe > this feature is not possible in D3D. New patch at: http://pdx.freedesktop.org/~anholt/dri/r200-projtex-8.diff This one makes texgenmix work except for the bottom left corner. The problem was that we were using the complete texgen matrix, even if it should only have been applied to specific coords. Fixed that by using rows of the identity matrix for set_texgen_matrix for disabled coords. Also, apparently q doesn't matter, so I removed the -1 for it. Also, I made GL_SPHERE_MAP a fallback since I never got texcyl to work otherwise. Does not fix doom3 lighting. -- Eric Anholt et...@lc... http://people.freebsd.org/~anholt/ anholt@FreeBSD.org |