fix: reduce default shadow bias to 0.01 — minimal acne with back-face culling

Back-face culling eliminated most self-shadowing, so bias can be much
lower. Default 0.01 (was 0.08). Slider still allows 0.001-0.5 tuning.
This commit is contained in:
emil28092005
2026-06-18 22:01:43 +03:00
parent ed919edb0a
commit 576d4586a3
+1 -1
View File
@@ -24,7 +24,7 @@ public sealed unsafe class VulkanRenderer : IRenderer, Engine.Graphics.IScreensh
private string? _screenshotPath; private string? _screenshotPath;
private float _totalTime; private float _totalTime;
public float ShadowBias { get; set; } = 0.08f; public float ShadowBias { get; set; } = 0.01f;
public float ShadowSampleRadius { get; set; } = 0.015f; public float ShadowSampleRadius { get; set; } = 0.015f;
public float ShadowFarPlane { get; set; } = 60.0f; public float ShadowFarPlane { get; set; } = 60.0f;