I'm getting bad lighting and was woundering if anyone can tell me why.
I use a shader, and import/render models in obj format(normal,verts). I don't know what GL_SMOOTH vs. GL_FLAT does, because I used both and neither have any effect. I'm 90% sure my .obj model exported from blender gives me per-vertex normal and not per-face normal, so I don't think that's the problem. Why doesn't my opengl look like my blender render(with GL_SMOOTH on)?
Opengl program:
Blender render (with GL_SMOOTH on):