From 02c4344d1d112112bb50a03b7a97b3954c699d4f Mon Sep 17 00:00:00 2001 From: George Papadopoulos Date: Fri, 14 Feb 2014 15:12:28 +0200 Subject: [PATCH] detect FBX glossiness map (ShininessExponent) --- code/FBXConverter.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/code/FBXConverter.cpp b/code/FBXConverter.cpp index 54a3bc594..aed4603f1 100644 --- a/code/FBXConverter.cpp +++ b/code/FBXConverter.cpp @@ -1517,6 +1517,7 @@ private: TrySetTextureProperties(out_mat, textures, "DisplacementColor", aiTextureType_DISPLACEMENT); TrySetTextureProperties(out_mat, textures, "NormalMap", aiTextureType_NORMALS); TrySetTextureProperties(out_mat, textures, "Bump", aiTextureType_HEIGHT); + TrySetTextureProperties(out_mat, textures, "ShininessExponent", aiTextureType_SHININESS); }