Updated the SDK with the latest code from the TF and HL2 branches.

This commit is contained in:
Michael Sartain
2014-10-02 08:25:55 -07:00
parent 56accfdb9c
commit 55ed12f8d1
767 changed files with 119642 additions and 122204 deletions
@@ -1,20 +1,20 @@
ps.1.1
;------------------------------------------------------------------------------
; Draw a texture . . woo hoo!
; t0 - texture
;
; The texture coordinates need to be defined as follows:
; tc0 - texcoords
;------------------------------------------------------------------------------
tex t0
tex t1
; Blend between grey and lightmap color based on total alpha
def c2, 0.5f, 0.5f, 0.5f, 1.0f
mul_x2 r1.rgb, c0, t1 ; Apply overbright to lightmap
+ mov r1.a, v0 ; vertex alpha
lrp r0, r1.a, r1, c2 ; interpolate between grey + color
ps.1.1
;------------------------------------------------------------------------------
; Draw a texture . . woo hoo!
; t0 - texture
;
; The texture coordinates need to be defined as follows:
; tc0 - texcoords
;------------------------------------------------------------------------------
tex t0
tex t1
; Blend between grey and lightmap color based on total alpha
def c2, 0.5f, 0.5f, 0.5f, 1.0f
mul_x2 r1.rgb, c0, t1 ; Apply overbright to lightmap
+ mov r1.a, v0 ; vertex alpha
lrp r0, r1.a, r1, c2 ; interpolate between grey + color