diff options
| author | yum <yum.food.vr@gmail.com> | 2024-06-24 21:22:43 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-06-24 21:24:14 -0700 |
| commit | 9b1523dce73e803c822d33e2529f2836dcc8ef7f (patch) | |
| tree | f90638df7e7f55d177997588e250b0aa144bae52 /interpolators.cginc | |
| parent | 9cc14f9f2595b41bdb7d47bbd1caba1a1167695d (diff) | |
Rename some fields to 'vertex'
Improves compatibility with things like SPS.
Diffstat (limited to 'interpolators.cginc')
| -rw-r--r-- | interpolators.cginc | 6 |
1 files changed, 3 insertions, 3 deletions
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; |
