X-Git-Url: http://git.osdn.jp/view?a=blobdiff_plain;f=dev4%2FShader%2FGrating.fx;h=f3ddd05699ee45214f2b2b9defc0338a0e1826aa;hb=6f8443d682c25aa44d9158e8728ced9dd54fa4ca;hp=88d73b8b06e06f53d314230fc127de3e33ac1149;hpb=e816f42793839d5dc3eb9cf933bbcb8e104d9fdb;p=psychlops%2Fsilverlight.git
diff --git a/dev4/Shader/Grating.fx b/dev4/Shader/Grating.fx
index 88d73b8..f3ddd05 100644
--- a/dev4/Shader/Grating.fx
+++ b/dev4/Shader/Grating.fx
@@ -22,6 +22,17 @@ float phase: register(C3);
/// 0
float orientation: register(C4);
+/// Width of envelope
+/// 1
+/// 1024
+/// 32
+float SizeH : register(C5);
+
+/// Height of envelope
+/// 1
+/// 1024
+/// 32
+float SizeV : register(C6);
float rp(float2 uv)
{