
ps.3.0
dcl vFace

def c0, 0.0f, 1.0f, 0.0f, 0.0f	    // RGBA green
def c1, 1.0f, 0.0f, 0.0f, 0.0f      // RGBA red

if_gt vFace, c0.w
	mov r0, c0
else
	mov r0, c1
endif

mov oC0, r0
