remove resolution until the seam thing is fixed lol

This commit is contained in:
JohnCorby 2022-07-14 13:25:54 -07:00
parent 7e782f58ed
commit 8d603da9cb
2 changed files with 5 additions and 0 deletions

View File

@ -33,6 +33,7 @@ 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.
@ -41,5 +42,6 @@ namespace NewHorizons.External.Modules
[Range(1 * 4, 500 * 4)]
[DefaultValue(51 * 4)]
public int resolution = 51 * 4;
*/
}
}

View File

@ -466,10 +466,13 @@ 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)