glOrtho is missing?

Hi, developed some opengl applications for PC platform and i want to try write something for my HD2.
I would like to ask, glOrtho func is missing in opengl es 2.0? if it’s true, is there another one method, how to switch into orthographics projection?
I want to start with something simple, i don’t need 3d projection for this time.
Can you give me some advices how can i do that?

Thanks, MB :slight_smile:

OpenGL ES 2.0 does not have fixed function vertex processing, which means it also doesn’t have a projection matrix stack. You can do vertex transformations in the vertex shader in whichever way you like. If your vertex shader uses a projection matrix uniform, you simply set it to the desired ortho projection matrix.

See my matrix.h and matrix.c in my engine for matrix making help. viewtopic.php?f=9&t=3140

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