Team Fortress 2 Source Code as on 22/4/2020
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

12 lines
345 B

  1. ps.1.1
  2. ;------------------------------------------------------------------------------
  3. ; Use the vertex color, modulate vertex alpha by texture alpha
  4. ;------------------------------------------------------------------------------
  5. def c0, 1.0f, 1.0f, 1.0f, 1.0f
  6. tex t0
  7. ; relevant data is in alpha channel
  8. mov r0.rgb, c0 +
  9. mul r0.a, v0.a, t0.a