Skip to content

Commit 64a97cb

Browse files
authored
Fixed: incorrect version check when applying OUTPUT_SH4() in UniversalToonBody.hlsl. (#328)
1 parent 095ecfd commit 64a97cb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToonBody.hlsl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -459,7 +459,7 @@
459459
half fogFactor = ComputeFogFactor(positionCS.z);
460460

461461
OUTPUT_LIGHTMAP_UV(v.lightmapUV, unity_LightmapST, o.lightmapUV);
462-
#if UNITY_VERSION >= 202312
462+
#if UNITY_VERSION >= 202317
463463
OUTPUT_SH4(positionWS, o.normalDir.xyz, GetWorldSpaceNormalizeViewDir(positionWS), o.vertexSH);
464464
#elif UNITY_VERSION >= 202310
465465
OUTPUT_SH(positionWS, o.normalDir.xyz, GetWorldSpaceNormalizeViewDir(positionWS), o.vertexSH);

0 commit comments

Comments
 (0)