ps_2_0
// in:
//    tex0 - render result
//    tex1 - mapped texture
//    c0.x - object id
dcl t0
dcl_2d s0
dcl_2d s1
def c8,-1,1,0.5,0
texld r0,t0,s0
sub r0.b,r0.b,c0.x
abs r0.b,r0.b
mul r1,r0.b,c8.x
texkill r1
mov r1.x,r0.r
mov r1.y,r0.a
texld r0,r1,s1
mov oC0,r0
