Replacement for glShadeModel on OpenGL ES 2.0


Is there any replacement for glShadeModel on OpenGL ES 2.0?


Unfortunately not.

If you need flat-shaded faces in ES 2.0, the only way to do it is to make duplicates of all the vertices so that each face has three unique vertices, and populate those vertices with the per-face attributes.

This topic was automatically closed 183 days after the last reply. New replies are no longer allowed.