Modified source engine (2017) developed by valve and leaked in 2020. Not for commercial purporses
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
172 B

5 years ago
; STATIC: "VERTEXCOLOR" "0..1"
; STATIC: "CONSTANTCOLOR" "0..1"
ps.1.1
tex t0
mov r0, t0
#if VERTEXCOLOR
mul r0, r0, v0
#endif
#if CONSTANTCOLOR
mul r0, r0, c0
#endif