diff options
| author | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
|---|---|---|
| committer | FluorescentCIAAfricanAmerican <[email protected]> | 2020-04-22 12:56:21 -0400 |
| commit | 3bf9df6b2785fa6d951086978a3e66f49427166a (patch) | |
| tree | 2c0f1f0c63c4832882bc93814ebd2c2b1c6224e5 /materialsystem/stdshaders/flesh_interior_blended_pass_dx8_ps11.psh | |
| download | archived-source-engine-2018-hl2-src-master.tar.xz archived-source-engine-2018-hl2-src-master.zip | |
Diffstat (limited to 'materialsystem/stdshaders/flesh_interior_blended_pass_dx8_ps11.psh')
| -rw-r--r-- | materialsystem/stdshaders/flesh_interior_blended_pass_dx8_ps11.psh | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/materialsystem/stdshaders/flesh_interior_blended_pass_dx8_ps11.psh b/materialsystem/stdshaders/flesh_interior_blended_pass_dx8_ps11.psh new file mode 100644 index 0000000..a9e675d --- /dev/null +++ b/materialsystem/stdshaders/flesh_interior_blended_pass_dx8_ps11.psh @@ -0,0 +1,15 @@ +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 |