Uncomment resolution

This commit is contained in:
Nick 2022-07-14 17:42:10 -04:00
parent 38ac50652b
commit b7bb5b7217
2 changed files with 0 additions and 5 deletions

View File

@ -33,7 +33,6 @@ namespace NewHorizons.External.Modules
/// </summary>
public string textureMap;
/*
/// <summary>
/// Resolution of the heightmap.
/// Higher values means more detail but also more memory/cpu/gpu usage.
@ -42,6 +41,5 @@ namespace NewHorizons.External.Modules
[Range(1 * 4, 500 * 4)]
[DefaultValue(51 * 4)]
public int resolution = 51 * 4;
*/
}
}

View File

@ -466,13 +466,10 @@ namespace NewHorizons.Handlers
if (body.Config.HeightMap != null)
{
/*
// resolution = tris on edge per face
// divide by 4 to account for all the way around the equator
var res = body.Config.HeightMap.resolution / 4;
HeightMapBuilder.Make(go, sector, body.Config.HeightMap, body.Mod, res);
*/
HeightMapBuilder.Make(go, sector, body.Config.HeightMap, body.Mod, 51);
}
if (body.Config.ProcGen != null)