iphone Programming Glossary: uniform
Parsing XML from NSString to get values http://stackoverflow.com/questions/12147883/parsing-xml-from-nsstring-to-get-values
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 position textureCoordinate inputTextureCoordinate.xy Fragment shader... varying highp vec2 textureCoordinate uniform sampler2D inputTextureTop uniform sampler2D inputTextureBot uniform highp float alphaTop void main lowp vec4 pixelTop texture2D.. inputTextureCoordinate.xy Fragment shader... varying highp vec2 textureCoordinate uniform sampler2D inputTextureTop uniform sampler2D inputTextureBot uniform highp float alphaTop void main lowp vec4 pixelTop texture2D inputTextureTop textureCoordinate.. shader... 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..
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 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 vec2.. code varying highp vec2 textureCoordinate varying highp vec2 textureCoordinate2 uniform sampler2D inputImageTexture uniform sampler2D inputImageTexture2 uniform lowp float excludeCircleRadius uniform lowp vec2 excludeCirclePoint uniform lowp float.. varying highp vec2 textureCoordinate2 uniform sampler2D inputImageTexture uniform sampler2D inputImageTexture2 uniform lowp float excludeCircleRadius uniform lowp vec2 excludeCirclePoint uniform lowp float excludeBlurSize uniform highp float..
Creating my own file extension based on plist http://stackoverflow.com/questions/3827558/creating-my-own-file-extension-based-on-plist to your application's Info.plist. http www.markdouma.com developer nacho.plist Obviously you should change the uniform type identifier to something appropriate. I usually do com.markdouma.something since that's my website . Note that you only..
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 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 vec2 fractionalWidthOfPixel.. fragment 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..
How can I improve the performance of my custom OpenGL ES 2.0 depth texture generation? http://stackoverflow.com/questions/6051237/how-can-i-improve-the-performance-of-my-custom-opengl-es-2-0-depth-texture-gener mediump float normalizedDepth varying mediump float adjustedSphereRadius varying mediump vec2 depthLookupCoordinate uniform lowp sampler2D sphereDepthMap const lowp vec3 stepValues vec3 2.0 1.0 0.0 void main lowp vec2 precalculatedDepthAndAlpha..
Use of VAO around VBO in Open ES iPhone app Causes EXC_BAD_ACCESS When Call to glDrawElements http://stackoverflow.com/questions/6240863/use-of-vao-around-vbo-in-open-es-iphone-app-causes-exc-bad-access-when-call-to-g glDisable GL_DEPTH_TEST glActiveTexture GL_TEXTURE0 glBindTexture GL_TEXTURE_2D videoFrameTexture Update uniform values glUniform1i videoFrameUniform 0 glDrawArrays GL_TRIANGLE_STRIP 0 4 program use glBindVertexArrayOES arrayObject glDisable..
How to parse this JSON feed? http://stackoverflow.com/questions/6726389/how-to-parse-this-json-feed ... Note that your object keys differ for everyobject in the element array ex. mat_157 vs. mat_156 so you can't get uniform key valued object. That's why you have to get the first key for every element like so NSDictionary user NSDictionary element..
|