fix: move camera to z=-7 for more distance
This commit is contained in:
@@ -272,7 +272,7 @@ internal sealed unsafe class VulkanRenderer : IRenderer, Engine.Graphics.IScreen
|
||||
{
|
||||
var aspect = (float)_swapchain.Extent.Width / (float)_swapchain.Extent.Height;
|
||||
var proj = Matrix4x4.CreatePerspectiveFieldOfView(MathF.PI / 4f, aspect, 0.1f, 100f);
|
||||
var view = Matrix4x4.CreateLookAt(new Vector3(0, 0, -4), Vector3.Zero, Vector3.UnitY); return view * proj;
|
||||
var view = Matrix4x4.CreateLookAt(new Vector3(0, 0, -7), Vector3.Zero, Vector3.UnitY); return view * proj;
|
||||
}
|
||||
|
||||
private static void TransitionImageLayout(VkCommandBuffer cmd, VkImage image,
|
||||
|
||||
Reference in New Issue
Block a user