opengl-es-2.0
Fastest way to to take coordinates from model space, to canonical coordinates space in OpenGL ES 2.0
Like many 3d graphical programs, I have a bunch of objects that have their own model coordinates (from -1 to 1 in x, y, and z axis).Then, I have a matrix that takes it from model coordinates to world[详细]
2023-03-22 17:35 分类:问答How can a fragment shader use the color values of the previously rendered frame?
I am learning to use shaders in OpenGL ES. As an example: Here\'s my playground fragment shader which takes the current video frame and makes it grayscale:[详细]
2023-03-22 14:01 分类:问答Android: Texture's gl states do not match with shader's
Getting an odd error validating my shaders on an android device. (It\'s an Asus eee Pad running Android 3.1)[详细]
2023-03-22 05:53 分类:问答OpenGL ES 2.0 Object Picking on iOS
What is the best method to select object开发者_如何学Pythons that have been drawn in OpenGL ES 2.0 (iOS)?[详细]
2023-03-21 18:12 分类:问答Smooth points OpenGL ES 2.0 using shaders
I am drawing 开发者_C百科some points using glDrawArrays(GL_POINTS, ...) and I would like to make them smooth round points instead of the squares. I know that there is no fixed function pipeline in Ope[详细]
2023-03-21 17:47 分类:问答OpenGL ES 2.0 vs 1.1
Is it worth supporting OpenGL ES 1.1 and fixed pipelines when even the most low level hardware can support 2.0 and shading languages?[详细]
2023-03-21 03:13 分类:问答High precision output from a GLES2 shader
I\'m doing some GPGPU stuff on a GLES2 platform that supports maximum RGBA8 render targets (iOS). I need to o开发者_开发知识库utput a vec2 in the range +/- 2.0 with as much precision as I can get, so[详细]
2023-03-19 23:41 分类:问答For an arbitrary number of transformations in OpenGL ES 2.0, where do you calculate model and view matrices?
I\'m writing a small 2D game engine in OpenGL ES 2.0. It works, but for medium sized scenes it feels a little sluggish currently. I designed it so that every game object is a tree of nodes, and each n[详细]
2023-03-19 19:53 分类:问答Memory error in OpenGL-es 2.0 code
I have written a code in OpenGL-ES 2.0 with PVRSDK in Ubuntu 10.10 , now the thing is that whatever output I want , I am getting that but it comes and then the window disappears ,[详细]
2023-03-19 19:48 分类:问答OpenGL ES 2.0: matrix multiplication problem
I\'m trying to draw a quadrilateral using OpenGL ES 2.0. My vertex shader looks like this: uniform mat4 mvp;[详细]
2023-03-19 05:34 分类:问答