mirror of
https://github.com/open-goal/jak-project
synced 2026-07-09 06:53:45 -04:00
[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:
@@ -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());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user