!!ARBfp1.0 #Declarations TEMP temp; ATTRIB tex0 = fragment.texcoord[0]; ATTRIB col0 = fragment.color; PARAM const = { 2.0, 1.0, 0.5, 0.0}; PARAM pink = { 1.0, 0.4, 0.4, 1.0}; OUTPUT out = result.color; #Instructions TEX temp, tex0, texture[0], 2D; #replace MOV out, temp; #modulate #MUL out, col0, temp; #texenv combine - modulate with constant color #MUL out, temp, pink; END