mirror of
https://github.com/Outer-Wilds-New-Horizons/new-horizons.git
synced 2025-12-11 20:15:44 +01:00
slightly tweak the module
This commit is contained in:
parent
2e197eaa97
commit
e9aebd9924
13
NewHorizons/External/Modules/HeightMapModule.cs
vendored
13
NewHorizons/External/Modules/HeightMapModule.cs
vendored
@ -54,7 +54,7 @@ namespace NewHorizons.External.Modules
|
||||
/// </summary>
|
||||
[Range(0f, 1f)]
|
||||
[DefaultValue(0f)]
|
||||
public float smoothness;
|
||||
public float smoothness = 0f;
|
||||
|
||||
/// <summary>
|
||||
/// How metallic the surface is, from 0 to 1.
|
||||
@ -62,7 +62,7 @@ namespace NewHorizons.External.Modules
|
||||
/// </summary>
|
||||
[Range(0f, 1f)]
|
||||
[DefaultValue(0f)]
|
||||
public float metallic;
|
||||
public float metallic = 0f;
|
||||
|
||||
/// <summary>
|
||||
/// Relative filepath to the texture used for the normal (aka bump) map. Optional.
|
||||
@ -73,7 +73,7 @@ namespace NewHorizons.External.Modules
|
||||
/// Strength of the normal map. Usually 0-1, but can go above, or negative to invert the map.
|
||||
/// </summary>
|
||||
[DefaultValue(1f)]
|
||||
public float normalStrength;
|
||||
public float normalStrength = 1f;
|
||||
|
||||
/// <summary>
|
||||
/// Relative filepath to the texture used for emission. Optional.
|
||||
@ -127,7 +127,9 @@ namespace NewHorizons.External.Modules
|
||||
/// <summary>
|
||||
/// How many times this tile will tile across each "side" of the planet, so around the equator, this tile will loop scale * 4 times.
|
||||
/// </summary>
|
||||
[Range(0f, double.MaxValue)] public float scale;
|
||||
[Range(0f, double.MaxValue)]
|
||||
[DefaultValue(1f)]
|
||||
public float scale = 1f;
|
||||
|
||||
/// <summary>
|
||||
/// Relative filepath to a color texture. Optional.
|
||||
@ -153,7 +155,8 @@ namespace NewHorizons.External.Modules
|
||||
/// <summary>
|
||||
/// Strength of the tile normal. Usually 0-1, but can go above, or negative to invert the map.
|
||||
/// </summary>
|
||||
public float normalStrength;
|
||||
[DefaultValue(1f)]
|
||||
public float normalStrength = 1f;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user