Added missing texture types when searching for invalid textures.
parent
c722061f18
commit
50334086cf
|
@ -777,6 +777,12 @@ void ValidateDSProcess::Validate( const aiMaterial* pMaterial)
|
||||||
SearchForInvalidTextures(pMaterial,aiTextureType_DISPLACEMENT);
|
SearchForInvalidTextures(pMaterial,aiTextureType_DISPLACEMENT);
|
||||||
SearchForInvalidTextures(pMaterial,aiTextureType_LIGHTMAP);
|
SearchForInvalidTextures(pMaterial,aiTextureType_LIGHTMAP);
|
||||||
SearchForInvalidTextures(pMaterial,aiTextureType_REFLECTION);
|
SearchForInvalidTextures(pMaterial,aiTextureType_REFLECTION);
|
||||||
|
SearchForInvalidTextures(pMaterial,aiTextureType_BASE_COLOR);
|
||||||
|
SearchForInvalidTextures(pMaterial,aiTextureType_NORMAL_CAMERA);
|
||||||
|
SearchForInvalidTextures(pMaterial,aiTextureType_EMISSION_COLOR);
|
||||||
|
SearchForInvalidTextures(pMaterial,aiTextureType_METALNESS);
|
||||||
|
SearchForInvalidTextures(pMaterial,aiTextureType_DIFFUSE_ROUGHNESS);
|
||||||
|
SearchForInvalidTextures(pMaterial,aiTextureType_AMBIENT_OCCLUSION);
|
||||||
}
|
}
|
||||||
|
|
||||||
// ------------------------------------------------------------------------------------------------
|
// ------------------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue