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.

13 lines
145 B

5 years ago
ps.1.1
tex t0
tex t1
mul r0.rgb, t0, v0 +
; handle distance fade
sub r0.a, t0.a, 1-v0.a
sub r0.a, r0.a, t1_bias.a
cnd r0.a, r0.a, c0.a, c1.a