[jak 2] fix texture lookup problem (#2373)

This should fix a bunch of texture-related issues by generating a table
of overlapping textures and just... adjusting them slightly so they
don't overlap. It's not the most elegant solution in the world, but I
think it's no worse than the existing hard-coded tpage dir stuff.
This commit is contained in:
water111
2023-03-21 19:41:14 -04:00
committed by GitHub
parent f276251a3a
commit df646282ab
10 changed files with 1628 additions and 9 deletions
+2
View File
@@ -251,6 +251,8 @@ int main(int argc, char** argv) {
auto result = db.process_tpages(tex_db, textures_out);
if (!result.empty() && config.process_tpages) {
file_util::write_text_file(textures_out / "tpage-dir.txt", result);
file_util::write_text_file(textures_out / "tex-remap.txt",
tex_db.generate_texture_dest_adjustment_table());
}
}