fix: reduce shadow bias to 0.0001 — near zero with back-face culling
This commit is contained in:
@@ -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.01f;
|
public float ShadowBias { get; set; } = 0.0001f;
|
||||||
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;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user