diff options
| author | yum <yum.food.vr@gmail.com> | 2026-01-20 22:01:22 -0800 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2026-01-20 22:01:22 -0800 |
| commit | ffb4b6b861a7f4a5c2468824e16872883f64c290 (patch) | |
| tree | b009b9e619d4ca94e5fc0c6d9b0cdc8c83de75e8 /interpolators.cginc | |
| parent | 0ef282da6a87c27e4056faaedb2847eed1f5a8a7 (diff) | |
Add fur shader, and begin slimming interpolators
Diffstat (limited to 'interpolators.cginc')
| -rw-r--r-- | interpolators.cginc | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/interpolators.cginc b/interpolators.cginc index 4e222e8..33bc0bc 100644 --- a/interpolators.cginc +++ b/interpolators.cginc @@ -27,14 +27,16 @@ struct v2f { float3 worldPos : TEXCOORD3;
float3 normal : TEXCOORD4;
float3 tangent : TEXCOORD5;
- float3 binormal : TEXCOORD6;
- float4 eyeVec : TEXCOORD7; // eyeVec.xyz | fogCoord
- float4 color : TEXCOORD8;
- float3 vertexLight : TEXCOORD9;
- UNITY_LIGHTING_COORDS(10,11)
-
-#if defined(_TROCHOID)
- float3 orig_pos : TEXCOORD12;
+ float4 eyeVec : TEXCOORD6; // eyeVec.xyz | fogCoord
+ float4 vertexLight : TEXCOORD7; // vertexLight.xyz | furLayer
+ UNITY_LIGHTING_COORDS(8,9)
+
+#if defined(V2F_ORIG_POS)
+ float3 orig_pos : TEXCOORD10;
+#endif
+
+#if defined(V2F_COLOR)
+ float4 color : TEXCOORD11;
#endif
UNITY_VERTEX_INPUT_INSTANCE_ID
|
