1 FRAG 2 3 DCL IN[0], COLOR, LINEAR 4 DCL OUT[0], COLOR 5 DCL IMMX[0..1] {{ 0.5, 0.4, 0.6, 1.0 }, 6 { 0.5, 0.4, 0.6, 0.0 }} 7 8 MAD OUT[0], IN[0], IMMX[0], IMMX[1] 9 10 END 11