瀏覽代碼

Exporter fbx: fix Maya specular texture lost

lviguier 1 年之前
父節點
當前提交
709b5a880e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      hxd/fmt/fbx/Writer.hx

+ 1 - 1
hxd/fmt/fbx/Writer.hx

@@ -606,7 +606,7 @@ class Writer {
 						if (matData.normalMap != null)
 						if (matData.normalMap != null)
 							@:privateAccess textures.push({ name: matData.normalMap.substr(matData.normalMap.lastIndexOf("/") + 1), path: resolvePathImpl(hmdModel.lib.resource.entry.path ,matData.normalMap), property: "NormalMap" });
 							@:privateAccess textures.push({ name: matData.normalMap.substr(matData.normalMap.lastIndexOf("/") + 1), path: resolvePathImpl(hmdModel.lib.resource.entry.path ,matData.normalMap), property: "NormalMap" });
 						if (matData.specularTexture != null)
 						if (matData.specularTexture != null)
-							@:privateAccess textures.push({ name : matData.specularTexture.substr(matData.specularTexture.lastIndexOf("/") + 1), path: resolvePathImpl(hmdModel.lib.resource.entry.path ,matData.specularTexture), property: "SpecularFactor" });
+							@:privateAccess textures.push({ name : matData.specularTexture.substr(matData.specularTexture.lastIndexOf("/") + 1), path: resolvePathImpl(hmdModel.lib.resource.entry.path ,matData.specularTexture), property: "SpecularColor" });
 					}
 					}
 				}
 				}