groverburger / g3d

Simple and easy 3D engine for LÖVE.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Can this load .mtl files?

z3n01d opened this issue · comments

So I'm using a model which has a mtl file but it can't be loaded in g3d, so is it possible or png is the only supported format?

commented

The only filetype that g3d adds support for are obj files. I don't think Love has support for mtl files, in which case you're out of luck. There's nothing stopping you from writing a custom loader and a shader for it, though.

Yeah I will try to add .mtl textures loading, still, thank's for answering.