EmbersRekindled icon indicating copy to clipboard operation
EmbersRekindled copied to clipboard

Getting horrible lag with machines that have special particle effects

Open mosharky opened this issue 5 years ago • 5 comments

I'm new to the mod, but so far the Melter and the Ember Activator lag my game to a consistent 15-17 fps. Doesn't matter if I have both on, I'll always get that amount when looking at the chunk that has them running.

mosharky avatar Sep 23 '18 00:09 mosharky

holy fuck 32 particles that live for 24 ticks each on the activator every tick

DaedalusGame avatar Sep 23 '18 00:09 DaedalusGame

holy fuck 32 particles that live for 24 ticks each on the activator every tick

I can't tell if you're being sarcastic or not because I have no idea how to put that many particles and ticks into perspective hah

mosharky avatar Sep 23 '18 00:09 mosharky

it's kinda crazy, i'll see if i can tone down the particles by a lot while keeping the same visuals.

DaedalusGame avatar Sep 23 '18 00:09 DaedalusGame

Thanks dude. I really appreciate the speedy reply :D

mosharky avatar Sep 23 '18 01:09 mosharky

ok so i've done some more profiling and it looks like this problem is actually probably caused by chunk updates. I've added some code to directly send TE updates without updating (and probably rerendering the entire chunk), but I'll leave this issue open until I have confirmation that it's better.

DaedalusGame avatar Sep 24 '18 00:09 DaedalusGame