Nice effect Ichiro and thanks for sharing!!

Quote:

This could be usefull, but wouldn't this result in a regular blur in images with more details/transitions?




No, but it will become a blur effect if you change say ds<4 to ds<1 though.

Code:

// blur only:
for(ds=1; ds<1; ds++) {
Color += pow( tex2D( g_samSrcColor, float2(Tex.x-ds*0.002, Tex.y)), 3.0f)/ds;
Color += pow( tex2D( g_samSrcColor, float2(Tex.x+ds*0.002, Tex.y)), 3.0f)/ds;
Color += pow( tex2D( g_samSrcColor, float2(Tex.x, Tex.y-ds*0.002)), 3.0f)/ds;
Color += pow( tex2D( g_samSrcColor, float2(Tex.x, Tex.y+ds*0.002)), 3.0f)/ds;
}




PHeMoX, Innervision Software (c) 1995-2008

For more info visit: Innervision Software