fix bug
This commit is contained in:
parent
b2e11a015e
commit
e4446afdec
@ -140,6 +140,7 @@
|
|||||||
#ifdef _HIDE_Y
|
#ifdef _HIDE_Y
|
||||||
fixed3 worldPos = mul(unity_ObjectToWorld , v.vertex).xyz;
|
fixed3 worldPos = mul(unity_ObjectToWorld , v.vertex).xyz;
|
||||||
o.worldPosY = worldPos.y;
|
o.worldPosY = worldPos.y;
|
||||||
|
#endif
|
||||||
return o;
|
return o;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user