浏览代码

remove unused fx variables

Nick Kastellanos 2 年之前
父节点
当前提交
87aa24fd77

+ 4 - 4
Shaders/InfiniteGrid/InfiniteGridEffect.cs

@@ -177,8 +177,8 @@ namespace nkast.Aether.Shaders
             InvProjection   = cloneSource.InvProjection;
             InvProjection   = cloneSource.InvProjection;
             InvView         = cloneSource.InvView;
             InvView         = cloneSource.InvView;
             InvPlaneMatrix  = cloneSource.InvPlaneMatrix;
             InvPlaneMatrix  = cloneSource.InvPlaneMatrix;
-            PlaneNormal     = cloneSource.PlaneNormal;
-            PlaneD          = cloneSource.PlaneD;
+            //PlaneNormal     = cloneSource.PlaneNormal;
+            //PlaneD          = cloneSource.PlaneD;
         }
         }
         
         
         public override Effect Clone()
         public override Effect Clone()
@@ -206,8 +206,8 @@ namespace nkast.Aether.Shaders
             InvProjection = Matrix.Invert(projection);
             InvProjection = Matrix.Invert(projection);
             InvView = Matrix.Invert(view);
             InvView = Matrix.Invert(view);
             InvPlaneMatrix = Matrix.Invert(EditMatrix);
             InvPlaneMatrix = Matrix.Invert(EditMatrix);
-            PlaneNormal = editPlane.Normal;
-            PlaneD = editPlane.D;
+            //PlaneNormal = editPlane.Normal;
+            //PlaneD = editPlane.D;
         }
         }
 
 
         #endregion
         #endregion

二进制
Shaders/InfiniteGrid/Resources/InfiniteGridEffect.HiDef.dx11.fxo.10


二进制
Shaders/InfiniteGrid/Resources/InfiniteGridEffect.HiDef.xna


二进制
Shaders/InfiniteGrid/Resources/InfiniteGridEffect.Reach.dx11.fxo.10


二进制
Shaders/InfiniteGrid/Resources/InfiniteGridEffect.Reach.xna


+ 2 - 2
Shaders/InfiniteGrid/Shaders/InfiniteGridEffect.HiDef.fx

@@ -19,8 +19,8 @@ BEGIN_CONSTANTS
 float4 DiffuseColor;
 float4 DiffuseColor;
 
 
 float2 TexelSize;
 float2 TexelSize;
-float3 PlaneNormal;
-float  PlaneD;
+//float3 PlaneNormal;
+//float  PlaneD;
 
 
 MATRIX_CONSTANTS
 MATRIX_CONSTANTS
 matrix WorldViewProjection;
 matrix WorldViewProjection;

+ 2 - 2
Shaders/InfiniteGrid/Shaders/InfiniteGridEffect.Reach.fx

@@ -19,8 +19,8 @@ BEGIN_CONSTANTS
 float4 DiffuseColor;
 float4 DiffuseColor;
 
 
 float2 TexelSize;
 float2 TexelSize;
-float3 PlaneNormal;
-float  PlaneD;
+//float3 PlaneNormal;
+//float  PlaneD;
 
 
 MATRIX_CONSTANTS
 MATRIX_CONSTANTS
 matrix WorldViewProjection;
 matrix WorldViewProjection;