diff options
Diffstat (limited to 'interpolators.cginc')
| -rw-r--r-- | interpolators.cginc | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/interpolators.cginc b/interpolators.cginc new file mode 100644 index 0000000..f3c18aa --- /dev/null +++ b/interpolators.cginc @@ -0,0 +1,23 @@ +#ifndef __INTERPOLATORS_INC
+#define __INTERPOLATORS_INC
+
+#include "AutoLight.cginc"
+
+struct appdata {
+ float4 vertex : POSITION;
+ float2 uv : TEXCOORD0;
+ float3 normal : NORMAL;
+ float4 tangent : TANGENT;
+};
+
+struct v2f {
+ float2 uv : TEXCOORD0;
+ float4 pos : SV_POSITION;
+ float3 worldPos : TEXCOORD1;
+ float3 normal : TEXCOORD2;
+ float3 tangent : TEXCOORD3;
+ float3 bitangent : TEXCOORD4;
+ SHADOW_COORDS(5)
+};
+
+#endif // __INTERPOLATORS_INC
|
