Glad you like it ! the fact is that I don't have the code under the eye, but in fact in the final drawTriangle method of the session, you make a swith on the matrix used to solves the bitmap :
like : if(refract)m.scale(a2,c2); if(refract)m.scale(.5,.5); you pass the "refract" boolean value by creating a bitmap new property with getter/setter and pass it when the bitmapMaterial calls for the session. so all you have to do is add a line in the abstractrendersession and set your bitmapMaterial : yourBitMapMaterial.refract = true; (or pass it in the init object) you can imagine nice effect in a composite material. I'm working on other effects and some more accurate method. I'll post the code tonight.
