mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
Fix heightmap stretch on title screen
This commit is contained in:
parent
0354a3081c
commit
822cdecce9
@ -87,6 +87,7 @@ namespace NewHorizons.Handlers
|
|||||||
heightMap.heightMap = body.Config.HeightMap.heightMap;
|
heightMap.heightMap = body.Config.HeightMap.heightMap;
|
||||||
heightMap.maxHeight = size;
|
heightMap.maxHeight = size;
|
||||||
heightMap.minHeight = body.Config.HeightMap.minHeight * size / body.Config.HeightMap.maxHeight;
|
heightMap.minHeight = body.Config.HeightMap.minHeight * size / body.Config.HeightMap.maxHeight;
|
||||||
|
heightMap.stretch = body.Config.HeightMap.stretch;
|
||||||
}
|
}
|
||||||
if (body.Config.Atmosphere?.clouds?.texturePath != null)
|
if (body.Config.Atmosphere?.clouds?.texturePath != null)
|
||||||
{
|
{
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user