Closed LihengGong closed 5 years ago
If I understand the question correctly, you are saying that you could get both flat shading and Phong shading to work, but you would like to have an elegant way of switching between the 2?
If that is the question, there is no way to do both and easily switch. You will need two VBOs, one for each type of normal.
Yes, prof. That's exactly my question. I got your point. Thank you and have a good night
Phong shading V.S. flat shading: how to arrange normals?
My understanding is:
the normal of the vertex of a mesh should be the average of the normals of the faces touching it
.)My problem: