Bugfix: FCollada's special texture tag "bump" now maps to aiTEXTURE_NORMAL. Thanks to agent8261 for the hint
Bugfix: AssimpView now properly skips the leading quotation mark when being executed with a file git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@1078 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
@@ -1260,7 +1260,7 @@ void ColladaLoader::FillMaterials( const ColladaParser& pParser, aiScene* /*pSce
|
||||
AddTexture( mat, pParser, effect, effect.mTexDiffuse, aiTextureType_DIFFUSE);
|
||||
|
||||
if( !effect.mTexBump.mName.empty())
|
||||
AddTexture( mat, pParser, effect, effect.mTexBump, aiTextureType_HEIGHT);
|
||||
AddTexture( mat, pParser, effect, effect.mTexBump, aiTextureType_NORMALS);
|
||||
|
||||
if( !effect.mTexTransparent.mName.empty())
|
||||
AddTexture( mat, pParser, effect, effect.mTexTransparent, aiTextureType_OPACITY);
|
||||
|
||||
Reference in New Issue
Block a user