git-svn-id: svn://db.shs.com.ru/libs@703 a8b55f48-bf90-11e4-a774-851b48703e85
This commit is contained in:
@@ -124,6 +124,7 @@ Material * assimpMaterial(const aiMaterial * m) {
|
||||
ret->map_roughness.bitmap_path = aiMatString(m, AI_MATKEY_TEXTURE_SHININESS(0));
|
||||
ret->map_emission .bitmap_path = aiMatString(m, AI_MATKEY_TEXTURE_EMISSIVE(0));
|
||||
ret->transparency = 1.f - aiMatFloat(m, AI_MATKEY_OPACITY, 1.f);
|
||||
ret->detectMaps();
|
||||
ret->setTypes();
|
||||
return ret;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user