[Solved] Missing UV mapping and gaps in dungeon mesh

Post here if you need help getting started with Daggerfall Unity or just want to clarify a potential bug. Questions about playing or modding classic Daggerfall should be posted to Community.
User avatar
Ferital
Posts: 282
Joined: Thu Apr 05, 2018 8:01 am

Re: Missing UV mapping and gaps in dungeon mesh

Post by Ferital »

XJDHDR wrote: Thu Apr 02, 2020 6:24 pm Perhaps we have a different definition of "workaround" then. My approach would be to fix the mesh and ensure that DF Unity receives a mesh that is working properly. Your approach is for the engine to accept the buggy mesh as-is then patch it's in-memory copy in the background.
Fixing meshes is exactly what is done in DFU. A patch is applied to ARCH3D.BSA in memory before the mesh is actually read. This same patch could have been applied to the file itself, but the current approach is better since it does not require to distribute any file and can be reversed at any time.

User avatar
XJDHDR
Posts: 258
Joined: Thu Jan 10, 2019 5:15 pm
Location: New Zealand
Contact:

Re: [Solved] Missing UV mapping and gaps in dungeon mesh

Post by XJDHDR »

I'm going to mark this one as solved as I've just released a mod that fixes this problem.

Post Reply