unity3d-jp / UnityChanToonShaderVer2_Project

UnityChanToonShaderVer2 Project / v.2.0.9 Release
3.82k stars 811 forks source link

Update UniversalToonBody.hlsl #110

Closed Thaina closed 2 years ago

Thaina commented 2 years ago

fix GetAdditionalLightShadowSamplingData new API for unity 2022.2

https://issuetracker.unity3d.com/issues/getadditionallightshadowsamplingdata-with-0-parameters-is-no-longer-accessible-in-2022-dot-2-0a10

H3idi-X commented 2 years ago

Thanks for notifying us! We appreciate your contribution.

We noticed this error, but haven’t grafted the fix to Universal Toon Shader yet.

This fix will be grafted with other fixies in several days. We are testing the fix in Unity Toon Shader repo.

https://github.com/Unity-Technologies/com.unity.toonshader/blob/66f951ca6cd0cf5f97d946641c109d9267aa880a/com.unity.toonshader/Runtime/UniversalRP/Shaders/UniversalToonBody.hlsl#L212-L216

H3idi-X commented 2 years ago

Hi, we released URP-2.5.1. That is compatible with Unity 2022.2.