Skip to content
0.2.0-dev Download ZIP
28 lines ·610 B Raw
1namespace EvilEngine.Host.Sessions;
2
3public enum LightingMode
4{
5 Baked,
6 Realtime
7}
8
9public sealed record ServerLighting
10{
11 public static readonly ServerLighting Baked = new();
12
13 public LightingMode Mode { get; init; } = LightingMode.Baked;
14
15 public bool GlobalIllumination { get; init; } = true;
16
17 public bool AmbientOcclusion { get; init; } = true;
18
19 public bool IndirectLight { get; init; }
20
21 public bool Reflections { get; init; }
22
23 public bool Fog { get; init; } = true;
24
25 public bool Bloom { get; init; } = true;
26
27 public bool Realtime => Mode == LightingMode.Realtime;
28}