Indie game storeFree gamesFun gamesHorror games
Game developmentAssetsComics
SalesBundles
Jobs
Tags

Asset Forge

Create your own 3D models and 2D sprites! · By Kenney

Importing into Unity (With textures)

A topic by Hannibal Glaser created Jul 19, 2020 Views: 1,594 Replies: 2
Viewing posts 1 to 3

Hey. I'm having a really hard time getting the texture to work in Unity. The .mtl file doesn't seem to be compatible with Unity, or I'm just confused about how it works. Any pointers?

What's the problem you're having specifically? The OBJ and MTL files don't contain textures, if you don't specifically select a texture in Asset Forge everything is exported as material colors which are contained in the MTL file. When importing into Unity, just drag both the OBJ and MTL file in your project window. I'd recommend selecting either FBX or DAE as export formats for Unity.

(Sorry, I'm a bit new at materials and textures, so I mixed the two up. I'm not using a texture, but I simply coloured the asset in AF) It didn't seem like the MTL material is usable in Unity, or attached to the model. The model just appears in the file browser with some standard materials. DAE isn't available in my build, but I'll try with FBX!