OpenGL ES 2.0 emphasizes a programmable 3D graphics pipeline (comparing to fixed-function pipeline of OpenGL ES 1.1).
-1
votes
1answer
77 views
Specifying 3D objects in a game [closed]
I have hands on experience in OpenGLES 2.0 , OpenGL and wish to apply the same in a 3D game development in Android.
My idea is to develop a Combat game having fighter planes. I am trying to create a ...
0
votes
1answer
40 views
Calling glGetError() in release builds?
Currently, I'm calling glGetError() after each OpenGL function call in order to be able to detect and report bugs.
I've been reading that glGetError() calls should be reduced to once per frame in ...
0
votes
0answers
30 views
iOS OpenGL ES 2.0 How to Billboard on Sphere and Rotate with Sphere
I have a sphere (earth) in OpenGL ES 2.0 for iOS. I also have markers that I want to place at lat/lons on the earth - but I want the markers to always face the user ( billboards ) but also move with ...
0
votes
1answer
54 views
bump mapping with 2 normal maps
I was wondering if its actually possible to do bump mapping with 2 normal maps... I have tried doing it this way however I get a function overload on max and dot.
uniform sampler2D n_mapTex;
uniform ...
0
votes
1answer
37 views
texture movement stutters
Hey I at the moment I have got my texture to move however it stutters as I increment by 0.001 every second. My animation is done via FPS if that make sense and here is some code
FrameCount++;
...
0
votes
1answer
38 views
texture won't move OpenGL ES 2.0
I want be able to move my texture in GLSL I have set my texture to wrap S and wrap T but not sure why it wont move
my fragment shader looks like this at the moment
uniform sampler2D n_mapTex;
...
0
votes
0answers
25 views
How would one make dynamic vertices in OpenGL ES 2.0 to make a 3D modeling program?
Is there an easy way to make dynamic vertices in OpenGL ES 2.0 so that one could make a modeling program, and if so, how would they be combined to make a final model for export?
0
votes
0answers
25 views
How can one make multiple movable images in OpenGL ES 2.0?
I was wondering, I've only seen examples of OpenGL ES 2.0 where people have used one or perhaps two images. I didn't see multiple images of where they each had independent movement.
What if someone ...
1
vote
1answer
29 views
in an ios open gl es 2 game - is it better to use a few large texture atlas or many small textures
I'm working on new game, this time moving to more 3d objects and open gl es 2. Previous (successful) game was open gl es 1 and mostly 2d. For es 2 I'm developing my own 3d engine.
My 3d artist ...
0
votes
0answers
26 views
GL_EXT_shadow_samplers killing my shader
I have the following fragment shader for my scene
#extension GL_EXT_shadow_samplers : require
...
vec4 color = texture2D(uTextureUnit0, varTexCoord0);
if (colorTransformEnabled != 0) {
vec3 ...
0
votes
3answers
75 views
Where to run logic update in openGL ES?
Using Canvas with Surfaceview I had a run() method where I would essentially do the following:
onDraw();
update();
Where onDraw method would do the rendering and update would update all my game ...
-2
votes
1answer
96 views
Game code structure using openGL / Android [closed]
My game will have 3 activities (splashscreen, options menu and main game).
As it stands, each is a separate activity with it's own activity class and GLSurfaceview class.
Is this structure the right ...
0
votes
0answers
32 views
Strange problem with rendering quads in OpenGL ES 2.0 with custom classses on Android
I have 2 custom classes, one is for drawing quads (Quad) and the other is for drawing quads using VBO's (VBOQuad).
If I create a simple quad and render it like so:
Quad sprite = new Quad();
...
1
vote
1answer
66 views
Separate renderng thread in Android (OpenGL ES 2.0)
I'm used to mainly working with the Canvas SurfaceView API on Android and have recently been learning openGL ES 2.0
With canvas I know that surfaceView gives you the ability to start a new thread to ...
1
vote
1answer
94 views
Powers of 2 textures in Android 2d games?
I've read a lot about the importance of using powers of 2 png's for textures when using OpenGL ES. However, how does this relate to Google's own documentation regarding the resizing of graphics for ...