OpenGL vs OpenGL ES 2.0 - Can an OpenGL Application Be Easily Ported?

后端 未结 5 1401
囚心锁ツ
囚心锁ツ 2020-12-23 11:27

I am working on a gaming framework of sorts, and am a newcomer to OpenGL. Most books seem to not give a terribly clear answer to this question, and I want to develop on my

5条回答
  •  星月不相逢
    2020-12-23 11:58

    In OpenGL ES 2.0, which is what new gadgets use, you also have to provide your own vertex and fragment shaders because the old fixed function pipeline is gone. This means having to do any shading calculations etc. yourself, things which would be quite complex, but you can find existing implementations on GLSL tutorials.

    Still, as GLES is a subset of desktop OpenGL, it is possible to run the same program on both platforms.

提交回复
热议问题