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.

27 lines
310 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. #if 1
  9. tex t0 ; sample dudv map
  10. texbem t1, t0 ; refraction
  11. tex t2
  12. mov r0, t1
  13. mul r0.rgb, r0, c0
  14. lrp r0.rgb, t2.a, t2, r0
  15. ;mov r0, t2
  16. #else
  17. texcoord t0
  18. mov r0.rgba, t0
  19. #endif