Good evening, I have a question looking at my video of a larger map for optimization, there are a few points, maybe someone can tell you something that I don’t know. In general, to be honest, I’m interested in asynchronous (in a separate thread if WebGl allows it) loading models onto the scene. But also for any suggestions on optimization, I will be grateful to you.
-
There is a frieze when I add a sword to the player’s hand. Yes, it is clear that there is no frieze for the second time already, and some people may offer to load the sword and remove it, but there are a lot of swords in the game.
-
The same thing with the addition of a point of light, a larger frieze, but I was advised to load it separately and remove it, but the players can dynamically enter and exit the game, I will not be able to know exactly in advance how many points of light I need.
-
And what can be additionally calculated in a separate thread using WebWorker except for models that do not fall into the visibility zone using (Frustum).