Hello,
I’m using OpenGL for a viewer of models where the triangles have normals in arbitrary directions. Sometimes the normal points inside and sometimes outside.
This makes my models look like a chequered surface and the hidden surface removal does not match with the lightning.
Is there a setting where OpenGL can light the models correctly independent of the normal direction?
If not, is there a function which automatically aligns all normals?
Thanks
/Jonas Forssell, Gothenburg, Sweden