mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/PCK-Studio.git
synced 2026-06-15 06:51:55 +00:00
PerspectiveCamera.cs - Updated Z Far value
This commit is contained in:
@@ -76,7 +76,7 @@ namespace PckStudio.Rendering
|
||||
internal override void Update(float aspect)
|
||||
{
|
||||
UpdateView();
|
||||
var projection = Matrix4.CreatePerspectiveFieldOfView((float)MathHelper.DegreesToRadians(Fov), aspect, 1f, 100f);
|
||||
var projection = Matrix4.CreatePerspectiveFieldOfView((float)MathHelper.DegreesToRadians(Fov), aspect, 1f, 1000f);
|
||||
viewProjection = viewMatrix * projection;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user