From 1541db01ccc9b8bc967fc44042886ca81dcbfad8 Mon Sep 17 00:00:00 2001 From: John Senneker Date: Fri, 25 Nov 2016 10:56:11 -0500 Subject: [PATCH] Remove scaling of specular exponent in OBJFileImporter.cpp --- code/ObjFileImporter.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/code/ObjFileImporter.cpp b/code/ObjFileImporter.cpp index f074608..ad3cbf0 100644 --- a/code/ObjFileImporter.cpp +++ b/code/ObjFileImporter.cpp @@ -600,9 +600,6 @@ void ObjFileImporter::createMaterials(const ObjFile::Model* pModel, aiScene* pSc mat->AddProperty( &sm, 1, AI_MATKEY_SHADING_MODEL); - // multiplying the specular exponent with 2 seems to yield better results - pCurrentMaterial->shineness *= 4.f; - // Adding material colors mat->AddProperty( &pCurrentMaterial->ambient, 1, AI_MATKEY_COLOR_AMBIENT ); mat->AddProperty( &pCurrentMaterial->diffuse, 1, AI_MATKEY_COLOR_DIFFUSE ); -- 2.7.4