glsl
Getting vertex-shader transformed geometry back from the gpu in OpenGL
I would like to generate vertex geometry on the cpu and then pass it to开发者_Go百科 the GPU and run a number of vertex shaders on the vertices and then get these transformed vertices back to the cpu.[详细]
2023-03-16 14:43 分类:问答Unexplainable behavior when using uniform sampler2d[]
I\'m sorry but this will require a little bit of explanation. I\'m trying to make it as simple as possible.[详细]
2023-03-16 07:01 分类:问答Issue when porting from OpenGL 1.1 to OpenGL-ES 2.0
this ismy opengl-es 2.0 code : { for (surfnum=0;surfnum<surftotal;surfnum++){ for (i=0;i<triNum[surfnum];i++){[详细]
2023-03-16 06:09 分类:问答GLSL Geometry Shaders and projection matrices
So from playing around with it so far, I gather that GLSL geometry shaders work after the input vertices are transformed by the projection/modelview matrices. In other words, the geometry shaders proc[详细]
2023-03-16 03:16 分类:问答Attribute Parameter in Vertex shader
I am doing work on Opengl-es 2.0 in ubuntu 10.10 with pvrsdk . In my code i am taking the vertices of triangle to render but when i have to use the Attribute parameter in vertex shader . how does it c[详细]
2023-03-15 22:49 分类:问答How can we know what precision the I/O of GLSL functions use?
Apple says Many built-in functions use medium-precision inputs and outputs. If your application provides[详细]
2023-03-15 05:19 分类:问答Issues with Z-axis rotation matrix in glsl shader
I\'ve recently began putting together an OpenGL ES 1.1/2.0 2D pipeline from the ground up (iPhone only). This pipeline is intended to be used by engineers with no 3D math experience.[详细]
2023-03-14 19:34 分类:问答Writing the correct value in the depth buffer when using ray-casting
I am doing a ray-casting in a 3d texture until I hit a correct value. I am doing the ray-casting in a cube and the cube corners are already in world coordinates so I don\'t have to multiply the vertic[详细]
2023-03-14 17:27 分类:问答Ray tracing tutorial on GLSL? [closed]
Closed. This question is seeking recommendations for books, tools, software libraries, and more. It does not meet Stack Overflow guidelines guidelines. It is not currently accepting answers.[详细]
2023-03-14 05:49 分类:问答Why does GLSL lighting code shift the light spot with the camera?
I am trying to make a custom light shader and was trying a lot of different things over time. Some of the solutions I found work better, others worse. For this question I\'m using the solution which w[详细]
2023-03-14 05:09 分类:问答