1 FRAG 2 3 DCL IN[0], COLOR, LINEAR 4 DCL OUT[0], COLOR 5 6 DCL TEMP[0] 7 8 IMM FLT32 { 2.5, 4.0, 2.0, 1.0 } 9 IMM FLT32 { 0.4, 0.25, 0.5, 1.0 } 10 11 MUL TEMP[0], IN[0], IMM[0] 12 FLR TEMP[0], TEMP[0] 13 MUL OUT[0], TEMP[0], IMM[1] 14 15 END 16