From 0f0a9514ccabd558e9b6610e7c6150a69e6f9bcd Mon Sep 17 00:00:00 2001 From: rodri Date: Mon, 7 Oct 2024 18:32:50 +0000 Subject: leave a single, general error reporting fn. add specular map support. improvements to path handling. --- obj.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'obj.h') 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; }; -- cgit v1.2.3