How can I reduce lag when rendering on my website?

0
0
Asked By GameDevNinja42 On

I'm developing a game on my website, but I'm facing serious lag when rendering over 5000 objects. I'm looking for tips or strategies to improve performance and reduce this lag. The game can be found [here](http://buildnblocks.net), and the project files are available on [GitHub](https://github.com/th3nu8/buildnblocks/tree/main). Any advice would be greatly appreciated!

1 Answer

Answered By TechGuru88 On

One idea is to only render what's currently in the user's view. It sounds like you might be doing that already, but if it's still lagging, you might need to fine-tune that process. When you limit rendering to just the visible faces, you could see better performance.

GameDevNinja42 -

I already implemented that, but I'm struggling with the actual execution—it still lags when I try to render just the visible parts.

Related Questions

LEAVE A REPLY

Please enter your comment!
Please enter your name here

This site uses Akismet to reduce spam. Learn how your comment data is processed.