Where to start learning opengl es2?

Started by
1 comment, last by rykounanba 9 years, 8 months ago

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.

Advertisement

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 ?

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.

This topic is closed to new replies.

Advertisement