summaryrefslogtreecommitdiff
path: root/materialsystem/stdshaders/ShadowBuildTexture.psh
blob: a0d2f117d66d9e529b681f3a4576587ec0bad6f1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
ps.1.1

;------------------------------------------------------------------------------
; Use the vertex color, modulate vertex alpha by texture alpha
;------------------------------------------------------------------------------
def c0, 1.0f, 1.0f, 1.0f, 1.0f

tex t0

; relevant data is in alpha channel
mov r0.rgb, c0 +
mul r0.a, v0.a, t0.a