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.

16 lines
428 B

5 years ago
ps.1.1
;------------------------------------------------------------------------------
; c5 1, 1, 1, 1
;------------------------------------------------------------------------------
tex t0 ; Base color
mul r0, v0, v0 ; // Mask^2
mul r0, r0, r0 ; // Mask^4
sub r0, c5, r0 ; // 1.0 - Mask^4
mul r0.rgb, r0, t0 ; // * Flesh texture color
mul r0.a, r0.a, t0.a ; // * Flesh X-rated mask
mul r0.a, r0.a, v1.a ; // * Fresnel mask