bayer de-mosiac shader

mbiederman's icon

Has anyone every done this?

I have a firewire Firefly from point grey - I can see the image just fine, but its before de-bayering. I did find a pixel and fragment shader to do so, but i have no idea how to implement this, maybe a pointer from someone? From the looks of the forum this would be super helpful to allot of folks.

Thanks in advance...mb