Toon Shader

Bugfix - Coming in next update

Hi, I got some reports regarding a bug with toon shader mobile and free.

Specifically, the ToonShade appeared tiled over the mesh. Problem was, I could not reproduce the error locally and customers could not provide a sample scene. At last, I managed to reproduce the error and solve it. Until asset store accepts the update, here is a hotfix. Just replace line 67 in every shader where you see the following line


  float3 n = mul((float3x3)UNITY_MATRIX_IT_MV, v.normal);


with this :

https://gist.github.com/55d44bd94c0cb2d69718

Kind regards,

-Ippokratis