diff options
| author | yum <yum.food.vr@gmail.com> | 2024-08-10 01:08:46 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-08-10 01:08:46 -0700 |
| commit | 1aa73f3471b12d5fed9feb76a25c40ccf3969ce8 (patch) | |
| tree | e11918f10da37d6f8623f68f83062e0098a1902a /interpolators.cginc | |
| parent | 2f48ee027587845df67214607f9cefc0e620d653 (diff) | |
Add metallic/roughness to decals
Also add ability to limit cubemap override to metallic regions of
material.
Also rename `uv` to `uv0` where appropriate. This is to begin supporting
multiple UV maps.
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 e14831a..1b04192 100644 --- a/interpolators.cginc +++ b/interpolators.cginc @@ -18,7 +18,7 @@ struct appdata struct v2f { float4 pos : SV_POSITION; - float2 uv : TEXCOORD0; + float2 uv0 : TEXCOORD0; #if defined(LIGHTMAP_ON) float2 lmuv : TEXCOORD1; #endif @@ -48,7 +48,7 @@ struct appdata struct v2f { float4 pos : SV_POSITION; - float2 uv : TEXCOORD0; + float2 uv0 : TEXCOORD0; #if defined(LIGHTMAP_ON) float2 lmuv : TEXCOORD1; #endif |
