fragment-shader
Why same fragment shader gives different results on different android phones?
I am trying to implement a blur filter with OpenGL ES 2.0 on Android. Here is the code i am using: varying highp vec2 fragTexCoord;[详细]
2023-04-04 15:22 分类:问答gl_fragColor with multiple textures
I currently have two textures being applied to a single object.Eventually there will be a couple more added to that, but I am having trouble getting the current two to work properly.[详细]
2023-04-01 12:24 分类:问答Profile GLSL fragment shader on Mac OS X?
How can I profile a GLSL fragm开发者_JAVA技巧ent shader? I\'m using Mac OS X.[详细]
2023-03-27 12:25 分类:问答How to create a high-resolution offscreen fragment shader?
I figured out my fragment shader is limited to the pixel dimensions of the OpenGL ES viewport. Could I create an \"offscreen fragment shader\" or rendering environment which has 开发者_JAVA百科a lot[详细]
2023-03-23 12:08 分类:问答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 分类:问答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 Fragment Shader Texture Speed
I have the following fragment shader. varying highp vec2 tCoord; void main() { vec4 hc = texture2D(hair, tCoord);[详细]
2023-03-14 17:35 分类:问答Why the following will drag the performance of Fragment Shader (Open GL ES 2.0)
I have the following code in the Fragment Shader: precision lowp float; varying vec2 v_texCoord; uniform sampler2D s_texture;[详细]
2023-03-03 05:19 分类:问答GLSL: vertex shader to fragment shader without varing
How to transfer data from vertex shader to fragment shader without changes? I need to say to the vertex p开发者_运维知识库ixels that they have this color. This color I can obtain only in the vertex sh[详细]
2023-03-02 18:19 分类:问答GLSL: Which is more optimal? Ping-ponging with loops on the CPU or loops in the fragment shader?
I have a fragment shader which is doing a for loop with the number of passes passed in as a uniform int variabl开发者_运维百科e.[详细]
2023-03-01 22:15 分类:问答