From 8d3b2e400591f08941a02059ccfa58266eb69b04 Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 15 Jul 2024 16:14:57 -0700 Subject: Rename v2f `vertex` to `pos` ... for compatibility with Unity shadowing code. --- interpolators.cginc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interpolators.cginc') diff --git a/interpolators.cginc b/interpolators.cginc index 0a9784e..27db59c 100644 --- a/interpolators.cginc +++ b/interpolators.cginc @@ -15,7 +15,7 @@ struct appdata struct v2f { - float4 vertex : SV_POSITION; + float4 pos : SV_POSITION; float2 uv : TEXCOORD0; #if defined(LIGHTMAP_ON) float2 lmuv : TEXCOORD1; @@ -41,7 +41,7 @@ struct appdata struct v2f { - float4 vertex : SV_POSITION; + float4 pos : SV_POSITION; float2 uv : TEXCOORD0; #if defined(LIGHTMAP_ON) float2 lmuv : TEXCOORD1; -- cgit v1.2.3