F
FroggestSpirit
Guest
I'm working on a 3D model editor for a game, and currently I have it load a .obj model, and store it into a vertex buffer that gets submitted for drawing. I have a directional light, and an ambiant light that work fine, however, if I create a new shader (the simple passthrough shader) and apply it, it draws the models completely black with no lighting. How can this be fixed?