From a4a143cfcdb2995c0196fcace4b26abafd5050cd Mon Sep 17 00:00:00 2001 From: Richard Knight Date: Sun, 19 May 2019 17:40:24 +0100 Subject: [PATCH] Remove Tr from material (now read as 'd' instead) --- fast_obj.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/fast_obj.h b/fast_obj.h index 2405257..17c208e 100644 --- a/fast_obj.h +++ b/fast_obj.h @@ -49,9 +49,8 @@ typedef struct float Kt[3]; /* Transmittance */ float Ns; /* Shininess */ float Ni; /* Index of refraction */ - float Tr; /* Transparency */ float Tf[3]; /* Transmission filter */ - float d; /* Disolve (usually 1 - Tr) */ + float d; /* Disolve (alpha) */ int illum; /* Illumination model */ /* Texture maps */