References & dependencies · 4 min read (approx.)
OBJ texture not showing? Check the MTL file
OBJ model white or grey, MTL not loading textures? Usually the MTL was left behind or a texture path is wrong. Find the missing file without uploading.
On this page
An OBJ file stores no colors or textures itself: its mtllib line names an MTL material library, and the MTL names each texture with statements such as map_Kd. If any file along that chain cannot be found, the model shows up plain white or grey. So check two things first: is the MTL the OBJ refers to there, and are the textures the MTL refers to there?
Common causes
- The MTL or the textures were not copied along: only the
.objwas copied, or the folder with the textures (such asTextures/) was left out. The MTL must sit wheremtllibsays, and the textures must keep their original locations relative to the MTL. - The
mtllibname does not match: the MTL was renamed, but the OBJ'smtllibstill names the old file. Some OBJ files use materials (usemtl) without anymtllibline at all. map_Kdholds an absolute path from someone else's computer: such asmap_Kd C:\Users\artist\Desktop\tex\wood.png. It works on the computer that exported it and nowhere else.- The file name differs in case: the MTL says
Wood.PNG, the file iswood.png. Windows ignores case, so on Windows the texture is often found anyway and the problem goes unnoticed; on Linux or a web server, which tell case apart, it is not found.
Find the missing file with Vormio
Vormio on the web needs no installation, and your browser reads the model straight from the folder you choose; nothing is uploaded.
Click “Open folder” and choose the folder with the model.
Click the
.objfile and look at “References” at the bottom of the inspector. It lists the MTL, marked “Material library”.- With a locate button: the file is there; click to go to it.
- Marked “Missing”: the MTL was not copied, or its name does not match.
When the OBJ uses materials but has no
mtllib, “References” is empty and the inspector says so.Click the
.mtlfile. “References” lists each texture and what it is used for, such as “Diffuse map”:- With a locate button: the texture is there.
- “Missing”: there is no file where the MTL says.
- “External”: an absolute path that points outside the folder, which Vormio does not read.
Double-click the
.mtl: the viewer draws each material on a ball with its name underneath. Materials missing a texture keep only their own color, and the lower left corner says how many texture files are missing. Double-click the.objto see the model itself; what is missing is noted in the lower left corner there too.
Fix it yourself
Vormio is read-only and does not change your files for you. An MTL is plain text, so any text editor will do:
- A file is missing: copy the MTL or texture over from where it came from.
mtllibpaths are relative to the OBJ's folder, and texture paths are relative to the MTL's folder. mtllibdoes not match: change it to the MTL's current name, or rename the MTL back. If the line is missing, add it at the top of the OBJ, such asmtllib chair.mtl.- Absolute paths: copy the texture into the model's folder and switch to a relative path, such as changing
map_Kd C:\Users\artist\Desktop\tex\wood.pngtomap_Kd tex/wood.png. - Case: make the name in the MTL match the actual file name exactly.
Then open the folder again and check that every reference has a locate button.
Try it with the samples
In the web version, click “Try the sample files” and open the missing-texture folder: its marble bust lacks its diffuse texture on purpose. Click marble_bust_01.mtl and textures/marble_bust_01_diff_1k.jpg is marked “Missing”; double-click it to see the material ball without its diffuse map. Compare it with the same bust in the sculpture folder, which has all of its textures.
For glTF and GLB models that show up white or are missing textures, the causes and the check are much the same: see glTF textures not showing? Find the missing files.
See the OBJ format page for reading limits.
The desktop Beta is available for Windows, Apple Silicon Mac and Linux; see the download page. The desktop app can link several folders into one workspace, search the whole workspace and show which files reference a file. When a file cannot be found by its path, the desktop app also looks it up by name across the workspace. A file found that way is marked “Found by name”, not “Missing”. A matching file name does not prove the original path is correct; verify repairs in the original tool.
Try it with your local files
Start in your browser
No installation needed. Open a local folder to see thumbnails, previews, composition and references without uploading files.
Working across folders?
Desktop provides workspaces, search by properties across folders, “Referenced by” queries, file change monitoring and glTF/OBJ copy collection.
Related guides
References & dependencies · 3 min read (approx.)
Are unused assets safe to delete? Do textures need power-of-two sizes?
Treat unreferenced files and NPOT textures as investigation candidates. Check runtime loading, build inclusion and target-platform rules before changing assets.
Models & file inspection · 3 min read (approx.)
View 3D model thumbnails in a folder: FBX, OBJ, GLB
Open a folder and see its FBX, OBJ, GLB and other 3D models as thumbnails, along with TGA, DDS and PSD textures, in your browser. Nothing is uploaded.
Comparisons & choices · 3 min read (approx.)
Preview 3D model and texture thumbnails without Explorer or Finder extensions
Why Windows File Explorer and macOS Finder miss FBX, GLB, DDS, KTX2, EXR and Blend thumbnails, and how to browse mixed 3D folders locally without fragile shell extensions.
Comparisons & choices · 3 min read (approx.)
How to compare images, game textures and 3D models side by side locally
Compare PNG, DDS, KTX2, EXR, SVG and camera RAW images or glTF, FBX, OBJ and USD 3D models side by side in your browser—with synchronized zoom, wipe slider, hold-Space flash toggle, channel sync and synced 3D cameras.