diff --git a/fast_obj.h b/fast_obj.h index a884472..4cd7488 100644 --- a/fast_obj.h +++ b/fast_obj.h @@ -1201,6 +1201,18 @@ int read_mtllib(fastObjData* data, void* file, const fastObjCallbacks* callbacks } break; + case 'b': + case 'B': + p++; + if (p[0] == 'u' && + p[1] == 'm' && + p[2] == 'p' && + is_whitespace(p[3])) + { + p = read_map(data, p + 3, &mtl.map_bump); + } + break; + case '#': break; }