diff options
| author | yum <yum.food.vr@gmail.com> | 2024-07-15 16:14:57 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-07-15 16:14:57 -0700 |
| commit | 8d3b2e400591f08941a02059ccfa58266eb69b04 (patch) | |
| tree | 2b450d3b4c679c95789ddd9eed7d5282291ccdc1 /interpolators.cginc | |
| parent | 3acb967c6b9afe7c040561ddffbab8fc8034c8fc (diff) | |
Rename v2f `vertex` to `pos`
... for compatibility with Unity shadowing code.
Diffstat (limited to 'interpolators.cginc')
| -rw-r--r-- | interpolators.cginc | 4 |
1 files changed, 2 insertions, 2 deletions
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; |
