As I said in the title, I'm writing a .mtl parser and for some weird reason, only 1 material gets applied to my 3D rectangle. I have no idea if it's
my graphics code, or the parser..
Here's my .love file (Warning, spaghetti code ahead!)
The relevant function(s) are drawShape3D in graphics.lua, and parseMtl in objParser.lua
General discussion about LÖVE, Lua, game development, puns, and unicorns.
1 post • Page 1 of 1
"There is no such thing as a mistake, only happy accidents"
Users browsing this forum: No registered users and 36 guests