feat(render): implement Campaign AR and terrain fidelity
This commit is contained in:
parent
99cf26e00c
commit
7a5f96ede5
368 changed files with 50611 additions and 950 deletions
|
|
@ -1,4 +1,5 @@
|
|||
using AcDream.Core.Audio;
|
||||
using AcDream.Core.Content;
|
||||
using AcDream.App.Rendering;
|
||||
using AcDream.Core.World;
|
||||
using AcDream.Runtime.World;
|
||||
|
|
@ -60,13 +61,15 @@ internal sealed class WorldEnvironmentController : IWorldSceneSkyStateSource
|
|||
}
|
||||
}
|
||||
|
||||
public int ActiveDayGroupIndex => Runtime.ActiveDayGroupIndex;
|
||||
|
||||
public float DayFraction => (float)WorldTime.DayFraction;
|
||||
|
||||
public void Initialize(Region region)
|
||||
public void Initialize(Region region, IDatObjectSource? dats = null)
|
||||
{
|
||||
ArgumentNullException.ThrowIfNull(region);
|
||||
Initialize(
|
||||
SkyDescLoader.LoadFromRegion(region),
|
||||
SkyDescLoader.LoadFromRegion(region, dats),
|
||||
region.GameTime?.ZeroTimeOfYear);
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue