You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With the new change in the spawn preparation, it has become faster for the initial world generation, but it's slower for starting an already-generated server, since the chunks are being re-lit needlessly. We need to skip the lighting altogether if the chunk can be loaded with lightmap successfully.
The text was updated successfully, but these errors were encountered:
I'm doing this.
First I want to introduce a new function, cWorld::PrepareChunk(), that completely prepares the specified chunk (loads / generates / lights) and then calls the specified callback.
For this to work I need to change the world storage and generator to support callbacks, so I'm adding those first.
Then, the spawn preparation will just use this function together with the callback to continue preparing.
Finally, I'll make that function available to Lua so that ChunkWorx can use it as well.
With the new change in the spawn preparation, it has become faster for the initial world generation, but it's slower for starting an already-generated server, since the chunks are being re-lit needlessly. We need to skip the lighting altogether if the chunk can be loaded with lightmap successfully.
The text was updated successfully, but these errors were encountered: