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:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user