New answers tagged opengl-es
If you don't combine your faces into a single manifold / submesh i.e. by setting up your triangle lists appropriately, that's exactly what happens. This can be seen between individual voxel columns in Minecraft, when heading underground (at least in older versions, you could see the blue sky peeking through when approaching the surface from underground). ...
I haven't put the correct number of coordinates to be read in glVertexAttribPointer thats why its not reading the alpha.
Are you sure you NEED to convert your circle to a sphere/"3d circle"? Is it a feature that you will need to use often? I think you're tackling your problem from the wrong angle. I get the feeling that you've got those hardcoded vertices from some tutorial somewhere, and now want to try on some 3d stuff. I suggest you create an pipeline for loading some ...
You can use these vendor specific functions: wglGetCurrentContext() on Windows, aglGetCurrentContext() on OSX, glxGetCurrentContext() on unixoid systems with X and eglGetCurrentContext() on GLES based systems like iOS or Android They all return NULL (except for eglGetCurrentContext, which returns EGL_NO_CONTEXT) if there is no valid context currently ...
Top 50 recent answers are included