fix #451: stabilize portal seam rendering
This commit is contained in:
parent
f6fe0f2a4f
commit
1d2f2f738f
29 changed files with 1650 additions and 239 deletions
|
|
@ -213,6 +213,9 @@ public sealed class WorldRenderFrameBuilderTests
|
|||
Assert.False(result.PlayerSeenOutside);
|
||||
Assert.True(result.RootSeenOutside);
|
||||
Assert.True(result.RenderSky);
|
||||
Assert.False(result.CameraInsideEnclosedCell);
|
||||
Assert.True(result.PlayerOrCameraInsideEnclosedCell);
|
||||
Assert.True(result.IsAtmosphericallyOutdoor);
|
||||
Assert.Equal(playerCellId, result.PlayerCellId);
|
||||
Assert.Equal(viewerCellId, result.ViewerCellId);
|
||||
Assert.Equal(camera.Position, result.ViewerEyePosition);
|
||||
|
|
@ -245,6 +248,9 @@ public sealed class WorldRenderFrameBuilderTests
|
|||
Assert.False(result.PlayerInsideCell);
|
||||
Assert.False(result.CameraInsideCell);
|
||||
Assert.True(result.RenderSky);
|
||||
Assert.False(result.CameraInsideEnclosedCell);
|
||||
Assert.False(result.PlayerOrCameraInsideEnclosedCell);
|
||||
Assert.True(result.IsAtmosphericallyOutdoor);
|
||||
}
|
||||
|
||||
[Fact]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue