diff options
| author | yum <yum.food.vr@gmail.com> | 2024-09-28 15:55:06 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-09-28 15:55:06 -0700 |
| commit | 2e6a2df16dc5fa9758de06240e44b781b05e6f5a (patch) | |
| tree | 0236d7d36e5278cacf6bfe56dec2973c83709d0a /tooner_outline_pass.cginc | |
| parent | db11ed0901600e316ac54c2e2d8fdeec46c8af68 (diff) | |
World lighting bugfixes
Remove explicit world interpolators flag, fix specular reflections.
Diffstat (limited to 'tooner_outline_pass.cginc')
| -rw-r--r-- | tooner_outline_pass.cginc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tooner_outline_pass.cginc b/tooner_outline_pass.cginc index d8be2a7..9444c84 100644 --- a/tooner_outline_pass.cginc +++ b/tooner_outline_pass.cginc @@ -81,7 +81,7 @@ v2f vert(appdata v) o.normal = UnityObjectToWorldNormal(v.normal); o.uv0 = v.uv0; o.uv1 = v.uv1; -#if defined(_WORLD_INTERPOLATORS) +#if defined(LIGHTMAP_ON) o.uv2 = v.uv2 * unity_LightmapST.xy + unity_LightmapST.zw; UNITY_TRANSFER_LIGHTING(o, v.uv1); #else |
