-
Notifications
You must be signed in to change notification settings - Fork 790
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use UTS2 In Unity 2020 (URP 7.x ->10.x) #67
Comments
Hello,I noticed that some modifications 1 is in UniversalToonBodyDoubleShadeWithFeather.hlsl I tried, it does work on my Unity2020.2.1f1c1 with URP10.2.2 thanks alot |
thx~ |
I modified the part where I wrote the wrong file name. |
Thanks, It fixed the issue. |
Thank you for reporting and providing tips to make UTS work on Universal RP 10.x. |
Hi, there. We released 2.2.2 today. https://github.com/unity3d-jp/UnityChanToonShaderVer2_Project/releases/tag/urp-2.2.2 |
The problem occurs in the same way as the reproduction method mentioned in the previous mail. Shader error in `Universal Render Pipeline/Toon' : invalid subscript 'vertexSH' at Assets/UTS2/Runtime/Shaders/UniversalToonBodyDoubleShadeWithFeather.hlsl(41) (on d3d11) I'm attaching a related photo. |
Thanks and sorry for reporting again. |
I found this is related to LIGHT_MAP and not only 10.x, it occurs in former version too. |
Hi, we found that fixing this issue is hard without making drastic restructuring. If we fixed this vertxSH error, the next problem is texture number limitation and we will sometime come to see an error, maximum ps_4_0 sampler register index (16) exceeded. We had been spending long time to deal with this problem and we have decided to make new shader drastically improved, which, we believe, can get over this issue. Will you please refrain from using light map, checking static in the inspector to UTS objects, for a certain period? We started the new project a few weeks ago. Currently, we are mainly working on the legacy shader integration similar to Universal and HDRP. Next, we focus on HDRP improvement. Reducing the number of textures will be the next. Thank you. |
This shader doesn't accept shadows from other objects correct? |
As this is opened for other issues, will you open other issues if you are not able to solve what you've asked? Thanks, |
* Struggling... * Test _DirectionalShadowIndex can be always mainLight? * We cant use _DirectionalShadowIndex as mainLightIndex. [skip ci] * added init code _WRITE_TRANPARAENT_MOTION_VECTOR [skip ci] * Fixed an error on 2019.4.xx [skip ci] * Updated ToonShader_CelLook.unity to use box light on the figure's face. [skip ci] * Set up the dx raytrace shadow scene [skip ci] * Testing box light. [skip ci] * Implementing box light shading, not shadows yet. [skip ci] * UTS is ready for box shadow as main lights. * Updated CHANGELOG.md. [skip ci]
2.2.0 URP UTS2 will not be compiled in the latest unity (recently identified in 2020.2.1f1).
This seems to be a problem as the URP version changes from 7.x to 10.x.
It's been a long time since I haven't heard about update of UTS2,
so i share how to use UTS2 in Unity 2020.
This temporarily eliminates errors and allows for verification of operation,
but does not guarantee complete normal functionality.
Image below are modifications to the codes available in Unity 2020 (URP 10.x)
UniversalToonBodyDoubleShadeWithFeather.hlsl
UniversalToonBody.hlsl
UniversalToonBodyShadingGradeMap.hlsl
UniversalToon.shader (This is not issue about URP 7.x -> 10.x. anyway.. there is corrected typo in enum syntex)
It's a very ignorant method, but i'm able to use UTS2 in the UNITY 2020 versiont anyway.
I hope to hear the news about UTS2 continuously.
The text was updated successfully, but these errors were encountered: