mirror of
https://github.com/nillerusr/source-engine.git
synced 2024-12-22 22:27:05 +00:00
13 lines
145 B
Plaintext
13 lines
145 B
Plaintext
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
|