From 9b1523dce73e803c822d33e2529f2836dcc8ef7f Mon Sep 17 00:00:00 2001 From: yum Date: Mon, 24 Jun 2024 21:22:43 -0700 Subject: Rename some fields to 'vertex' Improves compatibility with things like SPS. --- interpolators.cginc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'interpolators.cginc') diff --git a/interpolators.cginc b/interpolators.cginc index 112561b..9677422 100644 --- a/interpolators.cginc +++ b/interpolators.cginc @@ -15,7 +15,7 @@ struct appdata struct v2f { - float4 pos : POSITION; + float4 vertex : SV_POSITION; float2 uv : TEXCOORD0; #if defined(LIGHTMAP_ON) float2 lmuv : TEXCOORD1; @@ -29,7 +29,7 @@ struct v2f struct appdata { - float4 position : POSITION; + float4 vertex : POSITION; float2 uv0 : TEXCOORD0; float2 uv1 : TEXCOORD1; float3 normal : NORMAL; @@ -38,7 +38,7 @@ struct appdata struct v2f { - float4 pos : SV_POSITION; + float4 vertex : SV_POSITION; float2 uv : TEXCOORD0; #if defined(LIGHTMAP_ON) float2 lmuv : TEXCOORD1; -- cgit v1.2.3