OpenGL ES 2.0 emphasizes a programmable 3D graphics pipeline (comparing to fixed-function pipeline of OpenGL ES 1.1).
0
votes
1answer
49 views
Draw multiple objects with textures
I want to draw cubes using textures.
void OperateWithMainMatrix(ESContext* esContext, GLfloat offsetX, GLfloat offsetY, GLfloat offsetZ) {
UserData *userData = (UserData*) esContext->userData;
...
1
vote
2answers
43 views
Depth buffer values reset on change shader?
I have 2 different shaders, and when I change the shader (glUseProgram), it seems that the depth information is lost, because everything drawn with the 2nd shader appears completely on top of anything ...
3
votes
2answers
98 views
OpenGL sprites and point size limitation
I'm developing a simple particle system that should be able to perform on mobile devices (iOS, Andorid). My plan was to use GL_POINT_SPRITE/GL_PROGRAM_POINT_SIZE method because of it's efficiency ...
3
votes
1answer
126 views
how to do sprinkle effect of water in opengl in android?
I want to achieve sprinkling effect of water in android using opengl.
so,
do i need to achieve it with graphics?
is there any other way to do it using opengl?
or how can i start working on this,any ...
1
vote
1answer
68 views
running GL ES 2.0 code under Linux ( no Android no iOS )
I need to code OpenGL ES 2.0 bits and i would like to do this and run the programs on my desktop for practical reasons.
Now, i already have tried the official GLES SDK from ATI for my videocard but ...
1
vote
1answer
54 views
How to implement custom texture formats in Android?
What I know:
Android can load PNG, BMP, WEBP,... via BitmapFactory.
What I want to achive:
Load my own 2D file format (e.g. 1-bit texture with a 1-bit alpha channel) and output a RGBA8888 texture.
...
2
votes
2answers
109 views
OpenGL 3.0+ framebuffer to texture/images
I need a way to capture what is rendered on screen, i have read about glReadPixels but it looks really slow.
Can you suggest a more efficient or just an alternative way for just copying what is ...
3
votes
2answers
139 views
What is Khronos EGL?
I see that modern OpenGL related code uses EGL, i can't get good resources for this so i ask here:
what exactly is EGL ?
if a platform supports OpenGL ES 2.0+ or OpenGL 3.0+ i can presume that will ...
1
vote
1answer
54 views
book and resource about vanilla OpenGL ES 2.0 development
I Found this book but it talks about an SDK created by the author rather than pure simple OpenGL ES 2.0; this sounds more like a commercial to me than a good book for programming, i would like to ...
0
votes
1answer
111 views
OpenGLES how to make a 3D object iOS
I am a newbie in OpenGLES, so pardon me if I cannot state the question properly.
Is it possible to create a 3D box with the following imports only:
OpenGLES, QuartzCore, GLKit
I have created a 2D ...
5
votes
4answers
209 views
How to visually “connect” skybox edges with terrain model
I'm working on a simple airplane game where I use skybox cube rendered using disabled depth test.
Very close to the bottom side of the skybox is my terrain model.
What bothers me is that the terrain ...
2
votes
3answers
128 views
Should we always prefer OpenGL ES version 2 over version 1.x
OpengGL ES version 2 goes a long way into changing the development paradigm that was established with OpenGL ES 1.x. You have shaders which you can chain together to apply varios effects/transforms to ...
2
votes
1answer
93 views
Is there any reason not to save skinning animation data in texture?
I have thought about saving animation data in texture. I think I can save shader parameter setting and interpolation cost in CPU, and also enable animated instancing.
But I couldn't find no text ...
1
vote
3answers
182 views
OpenGL are strips/fans faster for rendering or just data bandwidth
When we send data for drawing we can mark it as TRIANGLE_STRIP or TRIANGLE_FAN to reduce the number of vertices we have to specify. Now, does this actually improve the rendering speed on the graphics ...
3
votes
1answer
361 views
Sea water shader using only fragment processor
I have a game that runs on mobile devices (OpenGL ES 2.0) and for which I would like to create some sea water using the shaders. Now, the plane on which the sea water texture will be has only 4 ...