// The vertex shader of the old film post screen shader effect
vs.1.1

// Pass all information that just needs to be passed
mov oPos, v0
mov oT0, v7
mov oT1, v8
// Compute the texture coordinate for the annoying stripes on the scratchy movie
mov oT2.x, v8
mad oT2.y, v8.y, c0.y, c0.x
// The really ugly spots on the old film. There must be some holes in there.
mad oT3.xy, v8, c1.xy, c1.zw