Sign in to follow this  

Where to start learning opengl es2?

This topic is 1268 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Hello,

 

I am a programming with a little bit of openGL experience. Now I am trying to find my ways with opengl ES2 trough haxe with the openfl bindings. I have found some examples about 3D cubes and how to render them, but somehow when I try to rework them for 2D planes I don't really manage to get it working. Are there some good guides out there that actually explain what to do and how stuff works instead of throw this code in and hope it works.

Thanks in advance.

Share this post


Link to post
Share on other sites

I can't think of any guides right now, but GLES is a subset of OpenGL minus the fix function pipeline( oversimplification). GLES 2.0 is equivalent to OpenGL 2.0 for the most part so if you have OpenGL 2.0 examples, they should port over with minor changes. What exactly is not working ?

Share this post


Link to post
Share on other sites

I think I figured it out. I was making a mistake with attaching shaders to my GLprogram. I expected that program.attach() did the same as GL.attachShader(program, shader), but it did not. when I changed that it started working. I think I can get enough information now from google to go on. Thank you anyways.

Share this post


Link to post
Share on other sites
Sign in to follow this