summaryrefslogtreecommitdiff
path: root/materialsystem/stdshaders/Modulate_ps11.psh
blob: 1ef708bf6706d4be4f486dc0a14c9e9162b73c5d (plain) (blame)
1
2
3
4
5
6
7
8
ps.1.1

; c0 is grey or white depending on if this is mod2x or not.

tex t0	; base color

mul_sat r0.rgba, t0, v0
lrp r0.rgb, r0.a, r0, c0