mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Uncomment resolution
This commit is contained in:
parent
38ac50652b
commit
b7bb5b7217
@ -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;
|
||||
*/
|
||||
}
|
||||
}
|
||||
@ -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)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user