opengl-es-2.0
How does cube shadowmapping algorithm work?
I searched on the web, but I could not find an appropriate description. I would like to do the following in OpenGL ES 2.0:[详细]
2023-04-13 00:59 分类:问答Can you use glVertexAttribPointer to assign a smaller vector to a larger one?
From section 5.8 of The OpenGL® ES Shading Language (v1.00, r17) [PDF] (emphasis mine): The assignment开发者_运维技巧 operator stores the value of the rvalue-expression into the l-value and returns[详细]
2023-04-12 10:49 分类:问答OpenGLES Shadow Volume
I succesfully implement shadow volume on iOS. However I got the following issue how can I clip the vertex position to the far plane like NV_depth_clamp is doing in GLSL? this is my vertex shader code[详细]
2023-04-11 22:11 分类:问答What's the "offset" parameter in GLES20.glVertexAttribPointer/glDrawElements, and where does ptr/indices come from?
I\'m playing around开发者_StackOverflow with OpenGL ES 2.0 in Android, and looking through the docs for GLES20 I came across the following methods:[详细]
2023-04-11 16:48 分类:问答glVertexAttribPointer needed everytime glBindBuffer is called?
In OpenGL (OpenGL ES 2.0 in particular), is glVertexAttribPointer required to be called each time a new VBO is bound?[详细]
2023-04-10 01:40 分类:问答EGL_KHR_IMAGE <- what is it and when should I use it
Can someone explain in simple terms what an egl image is, and an example of when I would want to use one? I know it can significantly increase performance, but I\'m having trouble finding documentatio[详细]
2023-04-10 01:02 分类:问答OpenGL not show result from secondary thread on iPhone
I created EAGLContext and use it in开发者_如何学编程 the secondary thread. But there is no output displayed. The same code works fine if run in main loop.[详细]
2023-04-09 14:17 分类:问答How do I support OpenGL ES GL10, GL11, and GL20 in Libgdx?
I am writing a 3d game that is using GL10, but I\'d like the application to support GL11 or GL20 if available. What is the best design for supporting all 3? Or is this a fool\'s errand and I should ju[详细]
2023-04-09 05:03 分类:问答How to create Stencil buffer with texture (Image) in OpenGL-ES 2.0
Can I have Stencil prepared with a texture (Image) in OpenGL 2.0 So that some part of the Image will be transparent and as a result it will be transfered as is[详细]
2023-04-08 13:55 分类:问答Android GL ES2 buffer issue: garbled data
I am trying to save whatever is rendered on screen in a Open GL ES2 application, by not calling glClear on a renderbuffer or the framebuffer.[详细]
2023-04-08 10:55 分类:问答