Done. Thx again.
Type: Posts; User: _klen_
Done. Thx again.
Hello ZbufferR,
It was exactly this. I only needed to set the Depth Buffer to the context.
...
/*Set Depth Buffer to your context*/
SDL_GLES_SetAttribute(SDL_GLES_DEPTH_SIZE, 24);
...
I am suing SDL library to create OpenGL window.
/* Init the SDL library, this provides graphics, audio, keyboard etc */
result = SDL_Init(SDL_INIT_EVERYTHING);
assert(result == 0);
/*...
Sorry. I don't understand what do you mean by context cation time.
Might make sense to share the openGL code with you.
My OpenGL ES 2.0 configuration:
glEnable(GL_TEXTURE_2D);
glGenTextures(1, &(programObjGlbl.textureObject));
glEnable(GL_CULL_FACE);...
Hello,
I am just starting to work with OpenGL ES and need some help. I am trying to load a .obj model into my game and have problems with how the the model renders. I narrowed it down to the depth...