// The pixel shader of the motion blur post screen shader effect
ps.1.4

// The strength values for the different strong transformed texels
def c0, 0.3f, 0.25f, 0.15f, 0.15f
def c1, 0.05f, 0.05f, 0.0f, 1.0f

// Get all required texels from the texture
texld r0, t0
texld r1, t1
texld r2, t2
texld r3, t3
texld r4, t4
texld r5, t5

// Combine them using the strength factors
mul r0.rgb, r0, c0.x
mad r0.rgb, r1, c0.y, r0
mad r0.rgb, r2, c0.z, r0
mad r0.rgb, r3, c0.w, r0
mad r0.rgb, r4, c1.x, r0
mad r0.rgb, r5, c1.y, r0
+mov r0.a, c1
