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.

16 lines
237 B

  1. ps.1.1
  2. ; t0:
  3. ; texture: dudv map
  4. ; texcoords: dudvmap texcoords
  5. ; t1:
  6. ; texture: refraction render target
  7. ; texcoords:
  8. tex t0 ; refraction
  9. tex t1 ; sample alpha channel
  10. mul r0.rgb, t1, t0 +
  11. mov r0.a, t1.a
  12. mul r0, r0, c0