Users browsing this thread: 1 Guest(s)
Alice Madness Returns Card Guards
#2
The .mat files contain the textures and parameters for the Unreal materials. You cannot use these material files in Blender or convert them for use in Blender, but you can use them to help with figuring out the materials.

The .mat files tell us some of the meanings of the texture acronyms

"DM" = Diffuse Map
"SM" = Specular Map / "SMA" = Specular Map + Alpha (probably)
"NM" = Normal Map
"TM" = Tint Map

Here is what I came up with.

[Image: attachment.php?aid=15271]



First is the card color. By default, this color is not present. You are correct that both colors of the cards use the same textures.

If you are not aware, video games often use a technique called "texture packing" to combine multiple textures into one using the image color channels: https://wiki.polycount.com/wiki/ChannelPacking


In this case, the alpha channel of the texture "CardGuard_Body_SMA" is being used to add the color to the Diffuse Map.

To use it in Blender, add a "Mix "node, set it to "Color", then choose "Multiply". Set the "factor" as the Alpha channel of the SMA texture, the "A" input as the "DM" texture, and the "B" input as your chosen color (Red or Gray).

[Image: attachment.php?aid=15278]



Next is the card suit. Adding the card suit works similarly. The card suit texture ("CardGuard_TM") is a packed texture.

To unpack "CardGuard_TM" in Blender, set the texture's alpha to "Channel Packed". Then add a "Separate Color" node and put the "Color" output of the texture node into the "Color" input of the Separate Color node.

Duplicate the multiply node. The alpha and RGB color channels all contain a different suit, so just attach the appropriate channel output to the "Factor" input of the 2nd Mutliply node.

[Image: attachment.php?aid=15277]



I see you already added the first normal map.

In case you aren't aware, remember to always set normal map texture nodes' Color Space to "Non-Color".



Next is the fabric normal map. The fabric normal map is too small by default because it is supposed to be tiled. 

To tile it, add a mapping node and a texture coordinate node. Attach the texture coordinate "UV" output to the the Mapping node's "Vector" input, then attach the Mapping node's "Vector" output to the fabric normal map texture node's "Vector" input. Increase the scaling until you are happy with the fabric density.

[Image: attachment.php?aid=15276]

Next is adding the fabric normal map to the original normal map.

To add the 2 normal maps together, duplicate the multiply node, set the mix mode to "Overlay", set the "Factor" to 1.0, then attach the original normal map to the "A" input and the fabric normal map to the "B" input.

[Image: attachment.php?aid=15275]

Why Overlay? Overlay darkens colors below .5 brightness and lightens colors over .5 brightness. we want to darken the original normal map where the fabric normal map is darkened and lighten the original normal map where the fabric normal map is lightened.


But, I assume you only want the fabric detailing on the body and not the clothing as well. 

To do that, you can use the body color mask to control where not to put the fabric detailing. To do that, use the alpha output from the "CardGuard_Body_SMA" texture as the "Factor" for the Overlay node, with an invert node used to reverse the effect (otherwise you will get fabric detailing only on the clothes).

[Image: attachment.php?aid=15274]



Last is the numbers. I can't tell if the numbers are supposed to be colored or not. I will assume that they are colored.

For the number material, you can use the number texture as the factor for a mix shader, with a shader of your choice in input 1 and a Transparent BDSF node in input 2. Because the number material has transparency, in material settings you will have to change the material's blend mode to Alpha Clipped, Hashed, or Blend.

[Image: attachment.php?aid=15273]

If you want to change the number, you can manually move the UVs or you can attach a texture coordinate and mapping node to the number texture image node. Move the UVs/texture by .33m (+ or -) in the X/Y axes to correctly center the number.

[Image: attachment.php?aid=15272]



I cannot help you with the color channels of the "SM/A" textures. My best guess is that the red channel is the actual specular channel. The .mat files say stuff like "SpecularPower A/B" and I don't really know what that's about.



I hope that this helps you! 

~ Jasper


Attached Files Thumbnail(s)
                       
       
Hey, I'm Jasper! I am an avid model ripper, I also like Splatoon and Vocaloid.

Currently ripping from: N/A
Reply
Thanked by:


Messages In This Thread
Alice Madness Returns Card Guards - by Kino-san - 01-28-2023, 07:23 PM
RE: Alice Madness Returns Card Guards - by Jasper7438 - 01-29-2023, 02:15 AM

Forum Jump: