opengl-es-2.0
Pixel based collision detection problem with OpenGLES 2.0 under Android
This is my first post here, therefore apologize for any blunders. I\'m developing a simple action game with the usage of OpenGL ES 2.0 and Android 2.3. My game framework on which I\'m currently worki[详细]
2023-04-01 20:17 分类:问答Box2D + Opengl ES 2.0 (XCode, iPhone): Efficiently updating body vertex locations
If you\'ve used Box2d, you\'re familiar with setting a b2Body->userData property which is then used to update rendered shape x,y coordinates:[详细]
2023-04-01 14:01 分类:问答OpenGL Fixed function shader implementation [closed]
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines. It is not currently accepting answers.[详细]
2023-04-01 08:42 分类:问答OpenGL ES 2.0. GLSL - cannot use two sampled colors at the same time in fragment shader
I have a fragment shader that does parallax mapping and lighting computations. I\'ve managed to trace the problem to the sampling of textures and/or lighting computation so I\'ll only post code for th[详细]
2023-04-01 07:37 分类:问答OpenGL ES 2.0 : Seeking VBO Performance/Optimisation Tips For Many Moving Vertices
In my ongoing attempt to convert to OpenGL ES 2.0 from ES 1.x I\'m currently converting some code to use Vertex Buffer Objects (\'VBOs\') rather than the existing unbuffered glDrawArrays calls.[详细]
2023-04-01 06:50 分类:问答OpenGL ES 2.0 Per Fragment Lighting for Untextured Generated Geometry
I\'m currently generating geometry rather than importing it as a model. This makes it necessary to calculate all normals within the application.[详细]
2023-04-01 06:10 分类:问答Android EGL/OpenGL ES Frame Rate Stuttering
TL;DR Even when doing no drawing at all, it seems impossible to maintain a 60Hz update rate on an OpenGL ES rendering thread on an Android device. Mysterious spikes frequently crop up (demonstrated i[详细]
2023-04-01 03:01 分类:问答OpenGL ES 2.0 with iPhone: GL_POINT_SMOOTH draws squares with ES 2.0 but works in ES 1.0
I\'m trying to draw circles by using a Vert开发者_如何学Pythonex Buffer Object to draw points with GL_POINT_SMOOTH enabled in OpenGL ES 2.0 on iPhone.[详细]
2023-03-31 18:57 分类:问答Conjugate Gradients on iPhone/iPad using OpenGL ES 2.0
I wrote this as a question in a comment but I feel it is worth its own question. I would like to build a conjugate gradients solver on the iPhone/iPad as it would open up a realm of new possibilities[详细]
2023-03-31 17:37 分类:问答OpenGL ES 2.0 with iPhone - Vertex Shader uniform cannot be located
I have the following vertex shader: uniform mediump mat4 projMx; attribute vec2 a_position; attribute vec4 a_color;[详细]
2023-03-31 07:55 分类:问答