summaryrefslogtreecommitdiffstatshomepage
path: root/hlsl/post.fx
diff options
context:
space:
mode:
author ImJezze <jezze@gmx.net>2015-12-31 16:32:35 +0100
committer ImJezze <jezze@gmx.net>2015-12-31 16:32:35 +0100
commiteea40fd0e47699261332904b5d930f0be68756e9 (patch)
tree4c996b59c2aa3594d68957b1d1e762c07941e702 /hlsl/post.fx
parentff77b7897bcf0a967f7e275b289a1f8fd18ecd7e (diff)
Cleanup (nw)
- removed unused pincushion.fx
Diffstat (limited to 'hlsl/post.fx')
-rw-r--r--hlsl/post.fx12
1 files changed, 7 insertions, 5 deletions
diff --git a/hlsl/post.fx b/hlsl/post.fx
index 39548bcf73a..2b175dedf90 100644
--- a/hlsl/post.fx
+++ b/hlsl/post.fx
@@ -4,6 +4,10 @@
// Scanline & Shadowmask Effect
//-----------------------------------------------------------------------------
+//-----------------------------------------------------------------------------
+// Sampler Definitions
+//-----------------------------------------------------------------------------
+
texture DiffuseTexture;
sampler DiffuseSampler = sampler_state
@@ -121,7 +125,7 @@ VS_OUTPUT vs_main(VS_INPUT Input)
}
//-----------------------------------------------------------------------------
-// Post-Processing Pixel Shader
+// Scanline & Shadowmask Pixel Shader
//-----------------------------------------------------------------------------
uniform float2 ScreenScale = float2(1.0f, 1.0f);
@@ -264,17 +268,15 @@ float4 ps_main(PS_INPUT Input) : COLOR
}
//-----------------------------------------------------------------------------
-// Scanline & Shadowmask Effect
+// Scanline & Shadowmask Technique
//-----------------------------------------------------------------------------
-technique ScanMaskTechnique
+technique DefaultTechnique
{
pass Pass0
{
Lighting = FALSE;
- Sampler[0] = <DiffuseSampler>;
-
VertexShader = compile vs_3_0 vs_main();
PixelShader = compile ps_3_0 ps_main();
}