角色行走草叢中,草跟隨動shader

float3 worldPos = mul ((float3x4)unity_ObjectToWorld, vertex); float distLimit = _affectDist; for (int i = 0; i < _obstacleCount; i++) { float3 _obstacle = _obstacles[i]; float3 bendDir = normal
相關文章
相關標籤/搜索