source-engine/materialsystem/stdshaders/Modulate_ps11.psh

9 lines
139 B
Plaintext
Raw Normal View History

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