i have a 2d terrain generator that uses terrain:fillblock() for every 3 studs in 2 x and z loops for every chunk and i’m curious if i should invest time into implementing writevoxels system instead
It depends on what you want to invest in it for…
writevoxels can be more efficient than repeatedly using the fillblock.
i want to invest in it for the speed that i can load chunks at because a large majority of the lag is the terrain itself and not any of the clutter on top
Given that your primary goal is to improve the speed at which you load chunks and reduce lag, transitioning to the writevoxels
system in your 2D terrain generator will for sure be beneficial.
If you can open the MicroProfiler (in studio), run a test by creating a 10x20x10 grid using both methods (seperately), then in the MicroProfiler, you should see the results of both ways
Do a control test of just running studio by itself to see the time each frame takes to complete
If you dont know what im talking about, See: MicroProfiler | Documentation - Roblox Creator Hub
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.