So I've been trying to make the fallen statue in Jedha, and I did it using an rescaled, edited version of the statue from the coruscant assets. In XSI, the textures look fine:
https://drive.google.com/file/d/1UW7BIz ... sp=sharing
Yet in ZE and in game the textures look like this:
https://drive.google.com/file/d/1Zi3g9t ... sp=sharing
The sword and the statue use the exact same tga files, so why they work properly for the sword but darken in ZE for the statue I have no idea. I removed all phongs and materials from the whole statue in xsi, then re-did the textures, but no change. Any ideas about what's causing the discrepancy between the xsi textures and the ZE and in game textures?
[Solved] Texture issue
Moderator: Moderators
-
- First Lance Corporal
- Posts: 120
- Joined: Wed Dec 11, 2019 3:52 pm
- Projects :: Trench War
- xbox live or psn: No gamertag set
[Solved] Texture issue
Last edited by kiprobin on Sat Dec 26, 2020 6:56 pm, edited 2 times in total.
-
- Corporal
- Posts: 151
- Joined: Thu Jan 24, 2019 11:02 pm
- Projects :: No Mod project currently
- xbox live or psn: No gamertag set
Re: Texture issue
I have some guesses but I haven't tried these. Also this is assuming that you know how to hex edit.
A note on hierarchy in the msh file:
First, open your exported model's msh in a hex editor, find the MATD containing the rock's texture (ie find the MATD which contains a TX0D with the right .tga). There will be an ATRB section inside that MATD, set the hex for the ATRB to 04 00 00 00 00 00 00 00 if it's not already (ie ATRB, longint 4, longint 0). The ATRB is a render setting so it might have something to do with this.
Next thing to try is checking for differences between the entire MATL section of the sword, and the MATL section of your dark models. I don't think materials used for things like collision primitives matter, but if a MATD has a texture (ie a TX0D) then check that MATD to make sure it has the same ATRB and DATA chunks to what the sword msh uses.
A note on msh materials:
If the issue isn't in the MATL, then I guess it's something to do with how the shadows are set up? Maybe? I can't really help you there.
A note on hierarchy in the msh file:
Hidden/Spoiler:
First, open your exported model's msh in a hex editor, find the MATD containing the rock's texture (ie find the MATD which contains a TX0D with the right .tga). There will be an ATRB section inside that MATD, set the hex for the ATRB to 04 00 00 00 00 00 00 00 if it's not already (ie ATRB, longint 4, longint 0). The ATRB is a render setting so it might have something to do with this.
Next thing to try is checking for differences between the entire MATL section of the sword, and the MATL section of your dark models. I don't think materials used for things like collision primitives matter, but if a MATD has a texture (ie a TX0D) then check that MATD to make sure it has the same ATRB and DATA chunks to what the sword msh uses.
A note on msh materials:
Hidden/Spoiler:
If the issue isn't in the MATL, then I guess it's something to do with how the shadows are set up? Maybe? I can't really help you there.
-
- First Lance Corporal
- Posts: 120
- Joined: Wed Dec 11, 2019 3:52 pm
- Projects :: Trench War
- xbox live or psn: No gamertag set
Re: Texture issue
I fixed it, though I'm not sure what precisely did it. I noticed when I had removed all phongs from both the working sword and the statue, the sword had the standard gray texture in the texture decal view mode, but the statue was darker for some reason. I don't know how to msh edit and wanted to try a few last ditch things before I devote such a large amount of time learning that just for a small problem, so I opened the statue in xsi and went to the polygon mesh section of it's drop down menu in explorer, you know where it has the things like "secondary shape modelling" and "animation" and stuff. I don't know what this section does - all I know is very basic modelling. So I went to the "world edges op" and "clusters" sections and deleted absolutely everything indiscriminately. When I removed the phongs, it was the standard gray instead of the darkish blue it was before. Hopeful, I reapplied the phongs, exported, and now it displays correct textures in ZE and in game. Not sure what did it, but it had something to do with deleting a lot of stuff in the "polygon mesh" dropdown menu of my object in XSI