Magma Gallop-Be careful!

2018-03-16  本文已影响0人  lalallaaa

In the game, Jack looked at the TV in the living room and spent time on this wonderful weekend. Suddenly, magma began to appear on the floor. Now let us help him escape the dangerous living room!

In normal circumstances, there is a working set of voxel and geometry data which must be held in memory at all times and a set of data which is held purely for caching. The cache will be expanded and contracted automatically based on the amount of memory available on the system. So, the working set is the real concern here, especially if it is too large to hold in memory on your machine.If the frame rate is very low then there are two things you might want to try:

1. Make sure you are running a Release build, not a Debug build.

2. Try lowering the size of the "active region" by entering the following in

Also, the active region size controls the draw distance of the terrain, so reducing this value can improve performance by reducing load to the GPU.Additionally, geometry for each chunk in the active region is uploaded to the GPU the first time the chunk is drawn. This can cause an unacceptably low frame rate while the active region is being generated. In this case, once chunk generation is finished, the frame rate will return to normal. This issue can be considered a performance bug as I can probably schedule VAO creation more effectively.

上一篇下一篇

猜你喜欢

热点阅读