; pixel shader version 1.0 ps.1.0 ; lookup texture in stage 0 tex t0 ; output the texture color sub r0, v0, c1 mad r0, r0, c0, t0 mul r0, v0, r0