ps.1.2

// Note: this is just a test - I couldn't get it to work properly!!!

def c1, 10.0, 0.0, 0.0, 0.0
def c2, 10.0, 10.0, 10.0, 20.50f

tex t0
texcoord t1
mov r1, t1
cmp r1, t1, t0, c1
dp3 r0, t1, c1
mul_sat r0, c0, c2
//mul r0.rgb, c2, r1
