Alphablur Shader

avlodge's icon

Hi,

I've read the Jitter tutorials I could find on writing your own shader but still find myself stumped. Would it be fairly easy to convert blur shader included with the Jitter install to a blur that would effect only the alpha channel. I understand that I need to somehow address a vec4 texture and then somehow target only the alpha channel for the effects of the blur. I eventually want to take on the "orange" book but feel I should probably learn some "C" or "Processing" first since I've never done any text coding before. If anyone knows of any tutorials that would help me write an alphablur shader or can offer some pointers about how to adapt the shader below I would be very grateful.

Thanks,
S.

    blur the alpha channel only
        Width of filter