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
Problems with .mtl parser, only 1 material gets applied to rendered shape
-
- Prole
- Posts: 16
- Joined: Thu May 27, 2021 12:32 am
Problems with .mtl parser, only 1 material gets applied to rendered shape
"There is no such thing as a mistake, only happy accidents"
Who is online
Users browsing this forum: Bing [Bot] and 3 guests