aboutsummaryrefslogtreecommitdiff
path: root/mp/src/materialsystem/stdshaders/Refract_ps11.psh
diff options
context:
space:
mode:
authorMichael Sartain <[email protected]>2014-10-02 08:25:55 -0700
committerMichael Sartain <[email protected]>2014-10-02 08:25:55 -0700
commit55ed12f8d1eb6887d348be03aee5573d44177ffb (patch)
tree3686f7ca78c780cd9a3d367b79a9d9250c1be7c0 /mp/src/materialsystem/stdshaders/Refract_ps11.psh
parent* Added support for Visual C++ 2013 Express to VPC (diff)
downloadsource-sdk-2013-55ed12f8d1eb6887d348be03aee5573d44177ffb.tar.xz
source-sdk-2013-55ed12f8d1eb6887d348be03aee5573d44177ffb.zip
Updated the SDK with the latest code from the TF and HL2 branches.
Diffstat (limited to 'mp/src/materialsystem/stdshaders/Refract_ps11.psh')
-rw-r--r--mp/src/materialsystem/stdshaders/Refract_ps11.psh72
1 files changed, 36 insertions, 36 deletions
diff --git a/mp/src/materialsystem/stdshaders/Refract_ps11.psh b/mp/src/materialsystem/stdshaders/Refract_ps11.psh
index f3fe34d2..a4e59bf6 100644
--- a/mp/src/materialsystem/stdshaders/Refract_ps11.psh
+++ b/mp/src/materialsystem/stdshaders/Refract_ps11.psh
@@ -1,36 +1,36 @@
-; STATIC: "REFRACTTINTTEXTURE" "0..1"
-; STATIC: "NORMALMAPALPHA" "0..1"
-
-ps.1.1
-
-; t0:
-; texture: dudv map
-; texcoords: dudvmap texcoords
-; t1:
-; texture: refraction render target
-; texcoords:
-
-tex t0 ; sample dudv map
-texbem t1, t0 ; refraction
-
-#if REFRACTTINTTEXTURE
-tex t2
-#endif
-
-#if NORMALMAPALPHA
-tex t3
-#endif
-
-; refracttint
-#if REFRACTTINTTEXTURE
-mul_x2 r0, t1, t2
-#else
-mov r0, t1
-#endif
-
-#if NORMALMAPALPHA
-mul r0.rgb, r0, c0 +
-mov r0.a, t3.a
-#else
-mul r0.rgb, r0, c0
-#endif
+; STATIC: "REFRACTTINTTEXTURE" "0..1"
+; STATIC: "NORMALMAPALPHA" "0..1"
+
+ps.1.1
+
+; t0:
+; texture: dudv map
+; texcoords: dudvmap texcoords
+; t1:
+; texture: refraction render target
+; texcoords:
+
+tex t0 ; sample dudv map
+texbem t1, t0 ; refraction
+
+#if REFRACTTINTTEXTURE
+tex t2
+#endif
+
+#if NORMALMAPALPHA
+tex t3
+#endif
+
+; refracttint
+#if REFRACTTINTTEXTURE
+mul_x2 r0, t1, t2
+#else
+mov r0, t1
+#endif
+
+#if NORMALMAPALPHA
+mul r0.rgb, r0, c0 +
+mov r0.a, t3.a
+#else
+mul r0.rgb, r0, c0
+#endif