¡@

Home 

2014/10/15 ¤U¤È 10:10:05

iphone Programming Glossary: highp

OpenGL ES 2.0 texture distortion on large geometry GL_REPEAT

http://stackoverflow.com/questions/11370074/opengl-es-2-0-texture-distortion-on-large-geometry-gl-repeat

vertex shader and then multiplying them back to the correct values in the fragment shader also does not work precision highp sampler2D highp float highp int in the fragment or the vertex shader didn't change anything lowp mediump did not work either.. then multiplying them back to the correct values in the fragment shader also does not work precision highp sampler2D highp float highp int in the fragment or the vertex shader didn't change anything lowp mediump did not work either I'm thinking.. them back to the correct values in the fragment shader also does not work precision highp sampler2D highp float highp int in the fragment or the vertex shader didn't change anything lowp mediump did not work either I'm thinking this problem..

How do I blend two textures with different co-ordinates in OpenGL ES 2.0 on iPhone?

http://stackoverflow.com/questions/12242443/how-do-i-blend-two-textures-with-different-co-ordinates-in-opengl-es-2-0-on-ipho

void main gl_Position position textureCoordinate inputTextureCoordinate.xy Fragment shader... varying highp vec2 textureCoordinate uniform sampler2D inputTextureTop uniform sampler2D inputTextureBot uniform highp float alphaTop.. varying highp vec2 textureCoordinate uniform sampler2D inputTextureTop uniform sampler2D inputTextureBot uniform highp float alphaTop void main lowp vec4 pixelTop texture2D inputTextureTop textureCoordinate lowp vec4 pixelBot texture2D inputTextureBot.. position textureCoordinate inputTextureCoordinate.xy textureCoordinate2 inputTextureCoordinate2.xy Frag Shader varying highp vec2 textureCoordinate varying highp vec2 textureCoordinate2 uniform sampler2D inputTextureTop uniform sampler2D inputTextureBot..

How do I modify a GPUImageGaussianSelectiveBlurFilter to operate over a rectangle instead of a circle?

http://stackoverflow.com/questions/12257429/how-do-i-modify-a-gpuimagegaussianselectiveblurfilter-to-operate-over-a-rectangl

I'll clarify my comment above. The fragment shader for the selective blur by default has the following code varying highp vec2 textureCoordinate varying highp vec2 textureCoordinate2 uniform sampler2D inputImageTexture uniform sampler2D inputImageTexture2.. fragment shader for the selective blur by default has the following code varying highp vec2 textureCoordinate varying highp vec2 textureCoordinate2 uniform sampler2D inputImageTexture uniform sampler2D inputImageTexture2 uniform lowp float excludeCircleRadius.. uniform lowp float excludeCircleRadius uniform lowp vec2 excludeCirclePoint uniform lowp float excludeBlurSize uniform highp float aspectRatio void main lowp vec4 sharpImageColor texture2D inputImageTexture textureCoordinate lowp vec4 blurredImageColor..

How do I perform a fast pixellation filter on an image?

http://stackoverflow.com/questions/5049041/how-do-i-perform-a-fast-pixellation-filter-on-an-image

pixel width in the processed image This filter is the result of a fragment shader with the following GLSL code varying highp vec2 textureCoordinate uniform sampler2D inputImageTexture uniform highp fractionalWidthOfPixel void main highp vec2 sampleDivisor.. shader with the following GLSL code varying highp vec2 textureCoordinate uniform sampler2D inputImageTexture uniform highp fractionalWidthOfPixel void main highp vec2 sampleDivisor vec2 fractionalWidthOfPixel highp vec2 samplePos textureCoordinate.. highp vec2 textureCoordinate uniform sampler2D inputImageTexture uniform highp fractionalWidthOfPixel void main highp vec2 sampleDivisor vec2 fractionalWidthOfPixel highp vec2 samplePos textureCoordinate mod textureCoordinate sampleDivisor..