Jump to content

  • Log In with Google      Sign In   
  • Create Account


Where to start learning opengl es2?


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 rykounanba   Members   -  Reputation: 144

Like
0Likes
Like

Posted 29 July 2014 - 07:01 AM

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.



Sponsor:

#2 cgrant   Members   -  Reputation: 623

Like
0Likes
Like

Posted 29 July 2014 - 11:28 AM

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 ?



#3 rykounanba   Members   -  Reputation: 144

Like
0Likes
Like

Posted 29 July 2014 - 12:03 PM

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.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS