LWO2 partial support, makefile fix.

git-svn-id: https://assimp.svn.sourceforge.net/svnroot/assimp/trunk@135 67173fc5-114c-0410-ac8e-9d2fd5bffc1f
This commit is contained in:
aramis_acg
2008-09-13 11:11:51 +00:00
parent c9c2810e3c
commit 9d167d20dc
7 changed files with 130 additions and 108 deletions

View File

@@ -74,7 +74,7 @@ void LWOImporter::ConvertMaterial(const LWO::Surface& surf,MaterialHelper* pcMat
// this is only an assumption, needs to be confirmed.
// the values have been tweaked by hand and seem to be correct.
float fGloss;
if (mIsLWO2)fGloss = surf.mGlossiness * 0.8f;
if (mIsLWO2)fGloss = surf.mGlossiness * 50.0f;
else
{
if (16.0f >= surf.mGlossiness)fGloss = 6.0f;