Upgrade to Unity 5.6

This commit is contained in:
Robert Cupisz
2017-04-04 12:27:05 +02:00
parent fc99d4650f
commit 57e7e4303a
6 changed files with 30 additions and 29 deletions

View File

@ -18,7 +18,7 @@ Pass
v2f vert (appdata_base v)
{
v2f o;
o.pos = mul (UNITY_MATRIX_MVP, v.vertex);
o.pos = UnityObjectToClipPos (v.vertex);
return o;
}