aboutsummaryrefslogtreecommitdiff
path: root/mp/src/materialsystem/stdshaders/debugluxel_ps2x.fxc
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/debugluxel_ps2x.fxc
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/debugluxel_ps2x.fxc')
-rw-r--r--mp/src/materialsystem/stdshaders/debugluxel_ps2x.fxc15
1 files changed, 15 insertions, 0 deletions
diff --git a/mp/src/materialsystem/stdshaders/debugluxel_ps2x.fxc b/mp/src/materialsystem/stdshaders/debugluxel_ps2x.fxc
new file mode 100644
index 00000000..81c8ae00
--- /dev/null
+++ b/mp/src/materialsystem/stdshaders/debugluxel_ps2x.fxc
@@ -0,0 +1,15 @@
+#include "common_ps_fxc.h"
+
+sampler TextureSampler : register( s0 );
+
+struct PS_INPUT
+{
+ float2 baseTexCoord : TEXCOORD0;
+};
+
+float4 main( PS_INPUT i ) : COLOR
+{
+ float4 result = tex2D( TextureSampler, i.baseTexCoord );
+ return FinalOutput( result, 0, PIXEL_FOG_TYPE_NONE, TONEMAP_SCALE_NONE );
+}
+