source-engine/materialsystem/stdshaders/detail_ps11.psh
FluorescentCIAAfricanAmerican 3bf9df6b27 1
2020-04-22 12:56:21 -04:00

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