Nebula Lighting Everywhere + Perspective Distortion Fix

Applied nebula lit shader to "planets" and asteroids
Modified gas giant shader to accept nebula lighting and to be a bit less crappy in general
Fixed raymarching depth sampling perspective distortion
This commit is contained in:
Reinier Vens 2022-07-16 06:42:40 +01:00
commit 07bddc0a6a
67 changed files with 561 additions and 160 deletions

View file

@ -31,6 +31,10 @@ public class NebulaSettings
[JsonProperty("tintExponent"), Key(8)] public float TintExponent;
[JsonProperty("tintLodExponent"), Key(9)] public float TintLodExponent;
[JsonProperty("safetyDistance"), Key(10)] public float SafetyDistance;
[JsonProperty("dynamicSkyBoost"), Key(14)] public float DynamicSkyBoost;
[JsonProperty("dynamicLodRange"), Key(15)] public float DynamicLodRange;
[JsonProperty("dynamicLodBias"), Key(16)] public float DynamicLodBias;
[JsonProperty("dynamicIntensity"), Key(17)] public float DynamicIntensity;
}
[Serializable, MessagePackObject, JsonObject(MemberSerialization.OptIn)]