summaryrefslogtreecommitdiffstats
path: root/interpolators.cginc
diff options
context:
space:
mode:
Diffstat (limited to 'interpolators.cginc')
-rw-r--r--interpolators.cginc6
1 files changed, 6 insertions, 0 deletions
diff --git a/interpolators.cginc b/interpolators.cginc
index 9677422..0a9784e 100644
--- a/interpolators.cginc
+++ b/interpolators.cginc
@@ -23,6 +23,9 @@ struct v2f
float3 worldPos : TEXCOORD2;
float3 normal : TEXCOORD3;
float3 objPos : TEXCOORD4;
+ #if defined(SSR_ENABLED)
+ float4 screenPos : TEXCOORD5;
+ #endif
};
#else
@@ -52,6 +55,9 @@ struct v2f
#if defined(VERTEXLIGHT_ON)
float3 vertexLightColor : TEXCOORD7;
#endif
+ #if defined(SSR_ENABLED)
+ float4 screenPos : TEXCOORD8;
+ #endif
};
#endif