Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
MTL and OBJ and JPG problems with OBJLoader2 #16395
There seems to be a problem when loading .obj files that have a .jpg, and a .mtl texture. I am using the example "webgl_loader_obj2" and I just changed these lines of code:
as you can see to load "Model".
Now this renders fine in Meshlab, but on a browser it shows nothing.
The console shows no errors: