brainwipe / Cloudship

A Unity 3D learning project
2 stars 0 forks source link

Terrain calculation too slow #20

Closed brainwipe closed 6 years ago

brainwipe commented 6 years ago

The edge normal calculation is O(n^2) and it's too slow. Need a faster way to calculate edge normals.

brainwipe commented 6 years ago

Before speedup work, time is 30ms. That's not dreadful but a lot of chunks are created.