Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'source/blender/io/wavefront_obj/exporter/obj_export_mtl.hh')
-rw-r--r--source/blender/io/wavefront_obj/exporter/obj_export_mtl.hh16
1 files changed, 8 insertions, 8 deletions
diff --git a/source/blender/io/wavefront_obj/exporter/obj_export_mtl.hh b/source/blender/io/wavefront_obj/exporter/obj_export_mtl.hh
index 0b94e4e43a3..32933a16c4d 100644
--- a/source/blender/io/wavefront_obj/exporter/obj_export_mtl.hh
+++ b/source/blender/io/wavefront_obj/exporter/obj_export_mtl.hh
@@ -56,16 +56,16 @@ struct MTLMaterial {
std::string name;
/* Always check for negative values while importing or exporting. Use defaults if
* any value is negative. */
- float spec_exponent{-1.0f}; /* Ns */
- float3 ambient_color{-1.0f}; /* Ka */
- float3 color{-1.0f}; /* Kd */
- float3 spec_color{-1.0f}; /* Ks */
- float3 emission_color{-1.0f}; /* Ke */
- float ior{-1.0f}; /* Ni */
- float alpha{-1.0f}; /* d */
+ float spec_exponent{-1.0f}; /* `Ns` */
+ float3 ambient_color{-1.0f}; /* `Ka` */
+ float3 color{-1.0f}; /* `Kd` */
+ float3 spec_color{-1.0f}; /* `Ks` */
+ float3 emission_color{-1.0f}; /* `Ke` */
+ float ior{-1.0f}; /* `Ni` */
+ float alpha{-1.0f}; /* `d` */
int illum_mode{-1};
MTLTexMap texture_maps[(int)MTLTexMapType::Count];
- /* Only used for Normal Map node: "map_Bump". */
+ /* Only used for Normal Map node: `map_Bump`. */
float normal_strength{-1.0f};
};