mirror of
https://mirror.ghproxy.com/https://github.com/dexyfex/CodeWalker
synced 2026-05-15 01:04:49 +08:00
Reversed depth buffer
This commit is contained in:
@@ -430,8 +430,6 @@ namespace CodeWalker.Forms
|
||||
camera.TargetDistance = rad * 1.6f;
|
||||
camera.CurrentDistance = rad * 1.6f;
|
||||
|
||||
camera.ZFar = Math.Min(rad * 200.0f, 12000.0f);
|
||||
camera.ZNear = Math.Min(camera.ZFar * 5e-5f, 0.5f);
|
||||
camera.UpdateProj = true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user