Strange glitch with Mixamo models

I’m getting this strange shadow with Mixamo models only. I’m using the AssetImporter with the FBX straight from their website.

My material definition:

<?xml version="1.0"?>
<material>
	<technique name="Techniques/DiffNormalSpec.xml" />
	<texture unit="diffuse" name="Models/Swat/Textures/body_diffuse.png" />
	<texture unit="normal" name="Models/Swat/Textures/body_normal.png" />
	<texture unit="specular" name="Models/Swat/Textures/body_specular.png" />
	<parameter name="MatDiffColor" value="0.8 0.8 0.8 1" />
	<parameter name="MatSpecColor" value="0.5 0.5 0.5 6.31179" />
	<parameter name="MatEmissiveColor" value="0 0 0 1" />
</material>

Hey smellymumbler, I got that same result before as well. Have you tried adding the -t flag (Generate tangents) in your option?

It worked! Thanks. Any idea why this happens?

Because if you don’t generate tangents, but your material uses them (because it uses the DiffNormalSpec technique) then it’s getting garbage instead of tangents. Any technique with Normal in the name, you need to generate tangents or it’ll use garbage tangents.

1 Like

Thank you for the help. :slight_smile: