Add real-time lighting and shadows, training courses and targets, and animated salvage crates. Include bilingual assets and curated verification results.
32 lines
1.3 KiB
C#
32 lines
1.3 KiB
C#
using UnityEngine;
|
|
|
|
namespace Ironspore
|
|
{
|
|
[CreateAssetMenu(menuName = "Ironspore/World Lighting Profile")]
|
|
public sealed class WorldLightingProfile : ScriptableObject
|
|
{
|
|
[Header("Daylight")]
|
|
public Vector3 sunEuler = new Vector3(48, -35, 0);
|
|
public Color sunColor = new Color(1, .94f, .84f);
|
|
[Min(0)] public float sunIntensity = 1.2f;
|
|
[Min(0)] public float hangarSunIntensity = .8f;
|
|
public Color ambientSky = new Color(.24f, .30f, .38f);
|
|
public Color ambientEquator = new Color(.12f, .16f, .19f);
|
|
public Color ambientGround = new Color(.045f, .055f, .065f);
|
|
public Color fogColor = new Color(.15f, .21f, .26f);
|
|
public float fogStart = 38;
|
|
public float fogEnd = 145;
|
|
[Range(0, 2)] public float skyExposure = .85f;
|
|
[Range(0, 1)] public float reflectionIntensity = .7f;
|
|
[Header("Shadows")]
|
|
[Range(0, 2)] public float bias = .08f;
|
|
[Range(0, 2)] public float normalBias = .4f;
|
|
[Min(.01f)] public float shadowNearPlane = .2f;
|
|
[Header("Industrial fixtures")]
|
|
[Min(0)] public float navigationIntensity = 6;
|
|
[Min(0)] public float extractionIntensity = 6;
|
|
[Min(0)] public float hangarIntensity = 5;
|
|
[Min(1)] public float localLightCullDistance = 50;
|
|
}
|
|
}
|