Bilateral Filter

Hello all, I’ve been doing some webgl experiments with the SSAO technique, and now I would like to apply a bilateral filter to remove the noise I’m getting but I don’t know any good implementation using glsl 1.0, could anyone send me a good one?

I know the approach would be something similar to this, http://people.csail.mit.edu/sparis/bf_c … ion_bf.pdf .

But I don’t know how to do it with glsl 1.0.

At this moment the results I’m getting with the SSAO ImageShack - Postprocessing

Cheers.