소스 검색

Merge pull request #220 from VirusFree/master

detect FBX glossiness map (ShininessExponent)
Alexander Gessler 11 년 전
부모
커밋
c158638d67
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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);
 	}