Hey all,
I created a 3D engine for a game I’m making, but I have a little problem. I think the problem has to do with the lighting, but I’m not sure. I was wondering if someone could help me out.
An image says a thousand words… so I attached an image explaining the problem. The left barbell, the correct one, is imported from a working OBJ importer I found. The one on the right is from my own loader, based on the working one.
As I said, I think the problem has to do with the lighting, but I’m not sure… Anyone help, please?
~Matt
P.S.: I’m pretty sure it’s the light, because if I render it without light & with the correct color (although it isn’t really material than) it shows up fine, as far as it can without light. The image showing this is below the other.
Will keep you informed.