Use first texture for 3ds materials
This commit is contained in:
parent
c220b6a3ed
commit
33ae4c5635
@ -121,7 +121,7 @@ namespace FirstPlugin.CtrLibrary
|
||||
if (Material.TextureMappers.Length > i)
|
||||
{
|
||||
var mapper = Material.TextureMappers[i];
|
||||
if (mapper.SamplerType == 0)
|
||||
if (TextureMaps.Count == 0) //first texture added
|
||||
{
|
||||
matTexture.Type = STGenericMatTexture.TextureType.Diffuse;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user