Three.js
- Download three.js from three.js website.
-
Follow the Getting Started tutorial. We’ll go over this together.
-
Import an external model into your project:
Save the file from here into a file called OBJMTLLoader.js
, within your three.js folder.
Include this code to import an OBJ with materials: