137My First Core Filter. Make Alpha Accessable
/ A Core Image kernel routine that manipulates the alpha of an image. /
kernel vec4 multiplyEffect(sampler image, float alpha) { vec4 i = sample(image, samplerCoord(image)); i.a = alpha; return i; }
/ A Core Image kernel routine that manipulates the alpha of an image. /
kernel vec4 multiplyEffect(sampler image, float alpha) { vec4 i = sample(image, samplerCoord(image)); i.a = alpha; return i; }