diff options
author | ImJezze <jezze@gmx.net> | 2015-12-31 16:32:35 +0100 |
---|---|---|
committer | ImJezze <jezze@gmx.net> | 2015-12-31 16:32:35 +0100 |
commit | eea40fd0e47699261332904b5d930f0be68756e9 (patch) | |
tree | 4c996b59c2aa3594d68957b1d1e762c07941e702 /hlsl/primary.fx | |
parent | ff77b7897bcf0a967f7e275b289a1f8fd18ecd7e (diff) |
Cleanup (nw)
- removed unused pincushion.fx
Diffstat (limited to 'hlsl/primary.fx')
-rw-r--r-- | hlsl/primary.fx | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/hlsl/primary.fx b/hlsl/primary.fx index 130c1cd4706..f0a1c1da0e7 100644 --- a/hlsl/primary.fx +++ b/hlsl/primary.fx @@ -1,7 +1,11 @@ // license:BSD-3-Clause // copyright-holders:Ryan Holtz //----------------------------------------------------------------------------- -// Effect File Variables +// Primary Effect +//----------------------------------------------------------------------------- + +//----------------------------------------------------------------------------- +// Sampler Definitions //----------------------------------------------------------------------------- texture Diffuse; @@ -42,7 +46,7 @@ struct PS_INPUT }; //----------------------------------------------------------------------------- -// Simple Vertex Shader +// Primary Vertex Shader //----------------------------------------------------------------------------- static const float Epsilon = 1.0e-7f; @@ -79,7 +83,7 @@ VS_OUTPUT vs_main(VS_INPUT Input) } //----------------------------------------------------------------------------- -// Simple Pixel Shader +// Primary Pixel Shader //----------------------------------------------------------------------------- float4 ps_main(PS_INPUT Input) : COLOR @@ -91,17 +95,15 @@ float4 ps_main(PS_INPUT Input) : COLOR } //----------------------------------------------------------------------------- -// Simple Effect +// Primary Technique //----------------------------------------------------------------------------- -technique TestTechnique +technique DefaultTechnique { pass Pass0 { Lighting = FALSE; - Sampler[0] = <DiffuseSampler>; - VertexShader = compile vs_2_0 vs_main(); PixelShader = compile ps_2_0 ps_main(); } |