diff options
| author | yum <yum.food.vr@gmail.com> | 2024-09-15 18:25:19 -0700 |
|---|---|---|
| committer | yum <yum.food.vr@gmail.com> | 2024-09-15 18:25:19 -0700 |
| commit | 5f5cdb6cac392d681e8a57cdfb2bfc55d11e2194 (patch) | |
| tree | 3889c11e06b3848651264a11d0ef8e1a849f4202 /tooner_lighting.cginc | |
| parent | bc0339ef792df8580d155fbcb7321b2659355905 (diff) | |
Bugfix: misspelled _WorldSpaceCameraPos
Diffstat (limited to 'tooner_lighting.cginc')
| -rw-r--r-- | tooner_lighting.cginc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tooner_lighting.cginc b/tooner_lighting.cginc index fad3e5e..80e8400 100644 --- a/tooner_lighting.cginc +++ b/tooner_lighting.cginc @@ -30,7 +30,7 @@ void getVertexLightColor(inout v2f i) { #if defined(VERTEXLIGHT_ON) - float3 view_dir = normalize(_WorldSPaceCameraPos.xyz - i.worldPos); + float3 view_dir = normalize(_WorldSpaceCameraPos.xyz - i.worldPos); uint normals_mode = round(_Mesh_Normals_Mode); bool flat = (normals_mode == 0); float3 flat_normal = normalize( |
