Suns never take a green hue: draw sun hues from the circle minus a Settings band
Primary hue maps through ColorMath.HueOutsideBand; the secondary takes the out-of-band side; fog tint and light derive from primary. Band edges are SunHueExcludedStart/End (75 and 165 degrees by default). Not yet verified on Yggdrasil at this commit. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
6b6e7c7c26
commit
0f26c4bb35
4 changed files with 156 additions and 2 deletions
|
|
@ -142,6 +142,9 @@ public class ZoneGenerationSettings
|
|||
public float SunSecondaryColorDistance = .25f;
|
||||
public float SunLightSaturation = .5f;
|
||||
public float SunFogTintSaturation = .5f;
|
||||
// The green band no sun colour may take, as fractions of the hue circle (75 to 165 degrees: chartreuse through spring green).
|
||||
public float SunHueExcludedStart = 75f / 360f;
|
||||
public float SunHueExcludedEnd = 165f / 360f;
|
||||
|
||||
public ExponentialLerp GasGiantBandCount;
|
||||
public float GasGiantBandColorSeparation = .25f;
|
||||
|
|
|
|||
Loading…
Reference in a new issue