Attached is a small (and pretty obvious, though hard to find...) fix which fixes dm-antalus textures, in both ut2k3 and ut2k4. Does not fix the water reflections in that map completely, they now look about as before (i.e. ut2k3 shows some green fog, ut2k4 shows some sort of reflection but it's wrong).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 :(
Does not fix DoomIII (which, btw, you're right it does seem to use mixed texgen/non-texgen though I'm not so sure it actually does this on purpose. It does however trigger (with sw tcl) in Mesa's texgen function both the copy non-texgened inputs code as well as the "holes" thing for filling in not-at-all specified texcoord inputs).
Roland
--- r200_texstate.c~ 2004-10-15 03:12:27.000000000 +0200 +++ r200_texstate.c 2004-10-15 13:58:38.334371336 +0200 @@ -1000,7 +1000,7 @@ case 0: /* All texgen units were disabled, so just pass coords through. */ - tgi = unit << inputshift; + tgi |= unit << inputshift; break; default: