• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1FRAG
2
3DCL IN[0], COLOR, LINEAR
4DCL OUT[0], COLOR
5
6DCL TEMP[0]
7
8IMM FLT32 { 0.6, 0.6, 0.6, 0.0 }
9IMM FLT32 { 0.01, 0.0, 0.0, 0.0 }
10IMM FLT32 { 1.0, 0.0, 0.0, 0.0 }
11
12SLT TEMP[0], IN[0], IMM[0]
13MUL OUT[0], IN[0], TEMP[0]
14MOV OUT[0].w, IMM[2].xxxx
15SUB TEMP[0], TEMP[0], IMM[1].xxxy
16KIL TEMP[0]
17
18END
19