I am doing some real-time image processing using OGL and stuck by the blending function.
I need to compute the absolute difference between several images.
Iout = abs(I1-I2), or Iout = sqr(I1-I2).
Is there anyway to compute this completely in OGL, either using blending function or multi-texture£¿
any help is appreciated.