Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
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.

17 lines
237 B

5 years ago
ps.1.1
; t0:
; texture: dudv map
; texcoords: dudvmap texcoords
; t1:
; texture: refraction render target
; texcoords:
tex t0 ; refraction
tex t1 ; sample alpha channel
mul r0.rgb, t1, t0 +
mov r0.a, t1.a
mul r0, r0, c0