Mention in readme that you don't really need to turn off VSync anymore for faster chunk mesh building.

This commit is contained in:
UnknownShadow200 2015-09-05 09:39:46 +10:00
parent b6289b6b79
commit 81906c75ed
2 changed files with 2 additions and 1 deletions

View File

@ -235,6 +235,7 @@ namespace ClassicalSharp {
int adjViewDistSqr = ( game.ViewDistance + 14 ) * ( game.ViewDistance + 14 ); int adjViewDistSqr = ( game.ViewDistance + 14 ) * ( game.ViewDistance + 14 );
chunksTarget += deltaTime < 0.034 ? 1 : -1; // build more chunks if 30 FPS or over, otherwise slowdown. chunksTarget += deltaTime < 0.034 ? 1 : -1; // build more chunks if 30 FPS or over, otherwise slowdown.
Utils.Clamp( ref chunksTarget, 4, 12 ); Utils.Clamp( ref chunksTarget, 4, 12 );
Console.WriteLine( (deltaTime * 1000) + ":" + chunksTarget );
for( int i = 0; i < chunks.Length; i++ ) { for( int i = 0; i < chunks.Length; i++ ) {
ChunkInfo info = chunks[i]; ChunkInfo info = chunks[i];

View File

@ -38,7 +38,7 @@ Note that the first time you run the launcher, a dialog box will pop up saying:
Some points to note: Some points to note:
* If the server has disabled hacks, key combinations such as fly and speed will not do anything. * If the server has disabled hacks, key combinations such as fly and speed will not do anything.
* Press F6 to change view distance. A smaller number of visible chunks can improve performance. * Press F6 to change view distance. A smaller number of visible chunks can improve performance.
* Press F7 to toggle VSync on (minimises CPU usage) or off (maximises chunk loading speed). * Press F7 to toggle VSync on or off. (on minimises CPU usage)
#### Client commands #### Client commands
* To see a list of all built in commands, type `/client commands`. * To see a list of all built in commands, type `/client commands`.