1
0
mirror of https://github.com/alliedmodders/hl2sdk.git synced 2024-12-22 17:47:38 +08:00
hl2sdk/materialsystem/stdshaders/detail_ps11.psh
Nicholas Hastings e2781a0000 SDK sync.
2014-02-28 14:08:09 -05:00

13 lines
157 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