Jump to content

Hair shadow missing in game


Recommended Posts

4 minutes ago, funnybunny666 said:

there's info about that in here

http://doa5.g1.xrea.com/?雑多___影

 

before you ask, I'm not the author, neither know how to apply the info, I'm just sharing a clue

 

xD no worries, thanks for the tip, it actually might help.

 

Not that I can read Kanji, but it gives me an idea where to look using HxD Hex Editor.

I can compare the code of a hair which cast shadow with another which desn't and try to extrapolate from it.

 

If I can figure it out, I will make a tutorial and share.

 

Cheers! 

Link to comment

I tried both methods, with HxD hex Editor and Obj Tool.

Both had the issue of the shadow not casting alpha channel as MyRabbit mentioned.

The picture below comes from the one done with hex editor:

 

 

1059901829_game2022-10-1518-45-13.png.28f91916592d3b18d737b377afebe531.png

 

 

Here is how to get it done:

 

With Obj Tool is easier, by just changing values in the columns Cast and Recv.

Cast means the mesh cast shadow, Recv means the mesh can receive shadow. 1 = on, and 2 = off.

 

With hex editor, one must first look for an entry called ObjInfo:

 

1243490872_Semttulo2.png.dad8e231ceb0e25752d779e844502254.png

 

After this entry there is a certain pattern of numbers, which repeats several times, and has to be change as per picture below:

 

1359045797_Semttulo.png.f532b4e63aa12c882c0437bbcccb0775.png

 

Obj Tool is quicker and more reliable.

 

Thanks for input guys, much appreciated!

Link to comment
On 10/16/2022 at 10:27 AM, Necromanzer2 said:

Is anyone kind enough to provide a simple tutorial video on how it is done about the hair shadows? I don't have any experience in using neither HxD hex Editor or Object Tool stuff.
I would like to learn the basics maybe for the Object tool :(

 

 

If you have the hair mod in *.TMC format already, you just have to open it with OBJ Tool and select the value for the column "Cast" to be "1".

Do this for everything but the zmodel meshes, as it's not need for these ones.

 

If you want to have the vanilla hair with shadow, you got to extract all hair with Archive Tool to have the hair in *.TMC format and do this change.

Then place the character "@" in the beginning of the name of the hair mod, so it can be accessed by any outfit, no matter in which costume slot folder you place it.

 

OBJ Tool:

https://www.nexusmods.com/deadoralive5/mods/142

 

A few hair mods, so you can try to do this change:

https://www.nexusmods.com/deadoralive5/mods/86

 

Archive Tool, if you want to get the Vanilla mods (includes tutorial on how to use it):

https://www.nexusmods.com/deadoralive5/mods/138

Link to comment
19 hours ago, AyaneKunoichi said:

 

 

If you have the hair mod in *.TMC format already, you just have to open it with OBJ Tool and select the value for the column "Cast" to be "1".

Do this for everything but the zmodel meshes, as it's not need for these ones.

 

If you want to have the vanilla hair with shadow, you got to extract all hair with Archive Tool to have the hair in *.TMC format and do this change.

Then place the character "@" in the beginning of the name of the hair mod, so it can be accessed by any outfit, no matter in which costume slot folder you place it.

 

OBJ Tool:

https://www.nexusmods.com/deadoralive5/mods/142

 

A few hair mods, so you can try to do this change:

https://www.nexusmods.com/deadoralive5/mods/86

 

Archive Tool, if you want to get the Vanilla mods (includes tutorial on how to use it):

https://www.nexusmods.com/deadoralive5/mods/138


Thank you, I did exactly like what you said and it worked out however, the shadow looks weird on the tip of the hair. Is this what u meant about the zmodel meshes?

image.png.af6c6fba3449d3e3456dca8b6e277c77.png

Link to comment
On 10/18/2022 at 11:13 AM, Necromanzer2 said:


Thank you, I did exactly like what you said and it worked out however, the shadow looks weird on the tip of the hair. Is this what u meant about the zmodel meshes?

image.png.af6c6fba3449d3e3456dca8b6e277c77.png

 

No, what you see in the tip of the hair shadow is the issue of the game engine not casting alpha chanel in shadows.

Textures with alpha channel have transparency effect, so when you look at the hair you see only the strands, as there are transparent areas in the texture.

In the shadow you see the exact form of the hair mesh, like a solid thing, as there is no trasnparency effect working in the shadow.

 

Edited by AyaneKunoichi
Link to comment

Strange it's only happen in PC version.

I watched every version of DOA5 videos

DOA5, DOA5U, DOA5UA(PC version actually based on arcade version), DOA5LR(ps, xbox) and they have good shadow quality

even ps3, xbox360 emulators have better shadows than retail PC version lol

 

Edited by MyRabbit
Link to comment
On 10/20/2022 at 7:22 AM, AyaneKunoichi said:

 

No, what you see in the tip of the hair shadow is the issue of the game engine not casting alpha chanel in shadows.

Textures with alpha channel have transparency effect, so when you look at the hair you see only the strands, as there are transparent areas in the texture.

In the shadow you see the exact form of the hair mesh, like a solid thing, as there is no trasnparency effect working in the shadow.

 


I see, I get it now.. thank you for your explanation. Much appreciated ?

Link to comment

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use