//------------------------------------------------------------------------------ // zoom blit //------------------------------------------------------------------------------ xps.1.1 // c0 = the percentage of the total effect to use. // source textures tex t0 // zoom result tex t1 // zoom texture tex t2 // zoom mask // zoom texture is alpha-blended against blur texure lrp r0.rgb, t1.a, t1, t0 // the destination alpha is a modulation of the zoom mask alpha and the percentage mul r0.a, t2.b, c0.a