Page 1 of 1

OpenGL ES 2.0 Games?

PostPosted: 02 Feb 2012, 05:00
by kripken
Are there any FOSS games that render using OpenGL ES 2.0? I ask because in the Emscripten project (a FOSS compiler from LLVM to JS) we are working on converting OpenGL ES 2.0 to WebGL. That means that we will be able to take an existing game written in C or C++, that renders to OpenGL ES 2.0, and compile it so it runs inside of web browsers.

Here is a demo of porting glxgears to the web: http://ehsanakhgari.org/blog/2012-01-25/porting-opengl-application-web

So far I can't find any OpenGL ES 2.0 games. Most FOSS games use OpenGL, not OpenGL ES. And the few that do use OpenGL ES use OpenGL ES 1.0 or 1.1, which is very different than 2.0 (2.0 is parallel to WebGL, 1.0 and 1.1 are not). Any help in finding an OpenGL ES 2.0 game would be much appreciated! It would be a nice way for us to test our compiler, and it would give the game a new audience on the web :)

Re: OpenGL ES 2.0 Games?

PostPosted: 02 Feb 2012, 11:41
by Knitter
I would suspect that the current games that use OpenGL ES are using version 1.0 or 1.1 since that is the version that has the most support in mobile devices. Most smartphones offer OpenGL ES 1.1 and some of those that offered 2.0 had severe driver problems that made using that version a real pain. Only the newer, costly, models will offer good OpenGL ES 2.0 implementations and those are not yet mainstream.

So for the time being, OpenGL EX 1.0/1.1 is the API that has more games/applications.

Wouldn't it be possible for you to provide both version, maybe using some plugin architecture? Something like what LibGDX does by supporting both OpenGL ES 1.0/1.1 and OpenGL ES 2.0, Desktop and other platforms using different backends.

Re: OpenGL ES 2.0 Games?

PostPosted: 02 Feb 2012, 11:59
by Julius
Have a look at what is done for the OpenPandora handheld... most of it should be OpenglES compatible.

Re: OpenGL ES 2.0 Games?

PostPosted: 02 Feb 2012, 15:41
by qubodup
I see 4 projects on sf.net: http://sourceforge.net/directory/?q=OpenGL+ES+2.0 , two of them are games.

Re: OpenGL ES 2.0 Games?

PostPosted: 03 Feb 2012, 04:40
by kripken
Thanks for the tips everyone! I'll check those out.

Re: OpenGL ES 2.0 Games?

PostPosted: 09 Mar 2012, 09:10
by KroArtem

Re: OpenGL ES 2.0 Games?

PostPosted: 09 Mar 2012, 13:58
by qubodup
Tropical Stormfront is non-foss, I'm afraid.

Re: OpenGL ES 2.0 Games?

PostPosted: 09 Mar 2012, 21:53
by KroArtem
Ah sorry, I forgot that topicstarter was looking for foss games.