Explorar o código

Merge pull request #220 from VirusFree/master

detect FBX glossiness map (ShininessExponent)
Alexander Gessler %!s(int64=11) %!d(string=hai) anos
pai
achega
c158638d67
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      code/FBXConverter.cpp

+ 1 - 0
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);
 	}