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
|
|
@ -12,7 +12,7 @@ namespace AcDream.App.Rendering.Selection;
|
|||
/// </summary>
|
||||
internal interface IWorldSceneSelectionFrame
|
||||
{
|
||||
void BeginFrame();
|
||||
void BeginFrame(FrustumPlanes? preparedViewFrustum = null);
|
||||
|
||||
void CompleteFrame();
|
||||
|
||||
|
|
@ -76,7 +76,7 @@ internal sealed class RetailSelectionScene :
|
|||
_lightingPulse.Clear();
|
||||
}
|
||||
|
||||
public void BeginFrame()
|
||||
public void BeginFrame(FrustumPlanes? preparedViewFrustum = null)
|
||||
{
|
||||
if (_frameOpen)
|
||||
{
|
||||
|
|
@ -87,7 +87,7 @@ internal sealed class RetailSelectionScene :
|
|||
_frameOpen = true;
|
||||
_building.Clear();
|
||||
_buildingKeys.Clear();
|
||||
_viewFrustum = null;
|
||||
_viewFrustum = preparedViewFrustum;
|
||||
_currentRenderSceneObserver?.BeginSelectionFrame();
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue