glDepthFunc and GL_LEQUAL for background drawing in an OpenGL ES 2...
For the (semi secret)game I am currently working on(http://www.PompiPompi.net/) I had to implement the background or backdrop of the 3D world. A simple method to draw the background is having a...
View ArticleLocation 0? location -1? glGetUniformLocation, C++ and bugs. (Android\iOS...
In OpenGLES 2 glGetUniformLocation receives the program id and a string as parameters. It then attempts to return a location int that can be used to set uniform GLSL shader variables. If the variable...
View ArticleOpenGL Texture Size and performance? Texture Cache? (Android\iOS GLES 2)
I am working on my dragon simulation mobile game and I am at the stage of adding a terrain to the game. I optimized the terrain render for my iOS devices but on my Android device I was getting bad...
View ArticlePitfalls and Errors When Using AVAssetWriter to Save the OpenGL Backbuffer...
For my current game I need to record the OpenGL back buffer of GLKView into a video using AVAssetWriter. I will not go over all the code to do this(which is not that much). However, I will go quickly...
View Article
More Pages to Explore .....