source-engine/materialsystem/stdshaders/detail_ps11.psh

13 lines
145 B
Plaintext
Raw Permalink Normal View History

2020-04-22 16:56:21 +00:00
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