ColladaLoader does now load transparency. hacky, but it could work.

Cleaned up Collada material importing. No changes to other loader parts.
Adding missing FileSystemFilter.h to vc8 build config.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@383 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2009-04-10 22:51:12 +00:00
parent f3324da6ea
commit 0c762117b8
4 changed files with 17 additions and 29 deletions

View File

@@ -1070,8 +1070,9 @@ void ColladaParser::ReadEffect( Collada::Effect& pEffect)
else if( IsElement( "reflective")) {
ReadEffectColor( pEffect.mReflective, pEffect.mTexReflective);
}
else if( IsElement( "transparent"))
else if( IsElement( "transparent")) {
ReadEffectColor( pEffect.mTransparent,pEffect.mTexTransparent);
}
else if( IsElement( "shininess"))
ReadEffectFloat( pEffect.mShininess);