|
@@ -241,8 +241,8 @@ class ThreeJsWriter(object):
|
|
"vertexColors": False
|
|
"vertexColors": False
|
|
}
|
|
}
|
|
if isinstance(mat, nodetypes.Phong):
|
|
if isinstance(mat, nodetypes.Phong):
|
|
- result["reflectivity"] = mat.getReflectivity()
|
|
|
|
result["colorSpecular"] = mat.getSpecularColor().rgb
|
|
result["colorSpecular"] = mat.getSpecularColor().rgb
|
|
|
|
+ result["reflectivity"] = mat.getReflectivity()
|
|
result["specularCoef"] = mat.getCosPower()
|
|
result["specularCoef"] = mat.getCosPower()
|
|
if self.options["specularMaps"]:
|
|
if self.options["specularMaps"]:
|
|
self._exportSpecularMap(result, mat)
|
|
self._exportSpecularMap(result, mat)
|