How can I do these image processing tasks using OpenGL ES 2.0 shaders?

I just added filters to my open source GPUImage framework that perform three of the four processing tasks you describe (swirling, sketch filtering, and converting to an oil painting). While I don’t yet have colorspace transforms as filters, I do have the ability to apply a matrix to transform colors. As examples of these filters … Read more

In OpenGL ES 2.0 / GLSL, where do you need precision specifiers?

You don’t need precision specifiers on constants/literals since those get compile time evaluated to whatever they are being assigned to. In vertex shaders, the following precisions are declared by default: ( 4.5.3 Default Precision Qualifiers) precision highp float; precision highp int; precision lowp sampler2D; precision lowp samplerCube; And in fragment shaders you get: precision mediump … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)