Game Development Reference
In-Depth Information
The following screenshot of the OpenGL statistics was taken in May 2014 from the
preceding mentioned website:
Note that GLES 1.1 is nearly zero. So what's the big deal about GLES 2.0 ? A better
question to ask would be whether you plan to use shaders in your application. If
this is the case, opt for GLES 2.0.
LibGDX has now removed the support for GLES 1.0, so the default
OpenGL version is 2.0.
In any other case, there will be no real benefit except being able to use Non-Power-
Of-Two ( NPOT ) textures—arbitrarily sized textures that do not equal to widths or
heights representable by the formula 2^n , such as 32 x 32, 512 x 512, and 128 x 1024.
NPOT textures are not guaranteed to work on all devices. For example,
Nexus One ignores NPOT textures. Also, it might cause performance
penalties on some hardware, so it is best to avoid using this feature
at all. In Chapter 4 , Gathering Resources , you will learn about a concept
called Texture Atlas . This will allow you to use arbitrarily sized
textures even when you are not using GLES2.
 
Search WWH ::




Custom Search