Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Large FPS drop using Destruction tool on Max Area

See original GitHub issue

As mentioned in #123 there is a bug / performance issue with the destruction tool when it’s area is set to 16x16x16.

With a Mid -> Pretty Okay gaming PC (GTX 1070, I5, 16GB Ram with 4GB Ram dedicated to MC) and having the max area active on the tool, you will notice an FPS drop of about 90%. It’s something due to how you are highlighting the blocks. I’ve done some messing around and found that it’s this method that is causing the issue.

A simple fix might be to switch over to using your renderBox method or changing the overlay to large box instead of highlighting each block separately and causing render updates each tick.

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:10 (8 by maintainers)

github_iconTop GitHub Comments

Direwolf20-MCcommented, Nov 3, 2018

FYI this is a part of the reason it’s still beta. I need to clean this up.

Phylogenycommented, Nov 6, 2018

I just tested this. My PC is not great (especially the graphics, as they’re integrated – I don’t even have a dedicated graphics card) and even when rendering all 4096 boxes, my FPS drops to 30 in a flat world.

I also found that rendering all 6 quads has the same effect on FPS as drawing only 1 quad. The solution I implemented was to prevent rendering for blocks with no sides to render (#129). With that, FPS only drops by a few even when set to max range.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to Boost FPS / Reduce Lag & Stuttering on PC - YouTube
A short tutorial on how to boost your FPS, reduce lag and stutter for Creative Destruction on PC.
Read more >
How To Fix League Of Legends FPS Drop Quick and Easy Way
In the control panel, select Large icons and click on Power Options. In the Power Options, select Maximum performance using the window at...
Read more >
Why does looking into fire BUTCHER fps? : r/PCRedDead
I use Vulkan snd sometimes when I look at campfires, burning wagons, grass burning, etc, I'll see my fps drop by around half....
Read more >
Why am I suddenly facing frame drops from 70 fps to ... - Quora
Sudden FPS drop is always due to a bottleneck when some action starts going on in the game that is beyond what your...
Read more >
Massive slowdown whenever there's fire in the scene
I just finished a mission where some bad guys destroyed a safe house and i had to go there and clean it. However,...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Post

No results found

github_iconTop Related Hashnode Post

No results found