zukonake / lux-client

2 stars 0 forks source link

Greedy meshing #10

Closed zukonake closed 6 years ago

zukonake commented 6 years ago

Meshing can use greedy meshing instead of simple face culling, this could require some modifications to texture loading, and should be optional. It can greatly reduce the number of vertices, so it could give substantial performance gain.

zukonake commented 6 years ago

If such optimization is implemented it should also be added to server for physics mesh creation.

zukonake commented 6 years ago

This could be impossible due to the fact that static lightning will need to set per-vertex color data.

zukonake commented 6 years ago

static lightning can be probably implemented using lightmaps, not sure about AO though

zukonake commented 6 years ago

For now only the server uses greedy meshing, in client version it could cause actually lower performance, because of the various hacks that need to be applied for lightning, textures, etc. to work.