aboutsummaryrefslogtreecommitdiff
path: root/obj.h
diff options
context:
space:
mode:
authorrodri <rgl@antares-labs.eu>2024-10-07 18:32:50 +0000
committerrodri <rgl@antares-labs.eu>2024-10-07 18:32:50 +0000
commit0f0a9514ccabd558e9b6610e7c6150a69e6f9bcd (patch)
treee2badcae5a2b882532786cbdcbd16cc8f2a99172 /obj.h
parentb4f6e218fccb523c9449a94b30cd6b2fa876a361 (diff)
downloadlibobj-0f0a9514ccabd558e9b6610e7c6150a69e6f9bcd.tar.gz
libobj-0f0a9514ccabd558e9b6610e7c6150a69e6f9bcd.tar.bz2
libobj-0f0a9514ccabd558e9b6610e7c6150a69e6f9bcd.zip
leave a single, general error reporting fn. add specular map support.HEADmaster
improvements to path handling.
Diffstat (limited to 'obj.h')
-rw-r--r--obj.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/obj.h b/obj.h
index 1a28613..33aee0b 100644
--- a/obj.h
+++ b/obj.h
@@ -72,9 +72,10 @@ struct OBJMaterial
OBJColor Ke; /* emissive color */
double Ns; /* specular highlight */
double Ni; /* index of refraction */
- double d; /* dissolution factor */
+ double d; /* dissolution factor (opacity) */
int illum; /* illumination model */
Memimage *map_Kd; /* color texture file */
+ Memimage *map_Ks; /* specular texture file */
Memimage *norm; /* normal texture file */
OBJMaterial *next;
};