fix: balanced shadow bias — no acne, no peter-panning
- Fragment bias: 0.08 + 0.15 * (1 - NdotL) — smaller base, moderate slope (was 0.3 + 0.5 — too much → peter-panning, shadows detached from objects) - vkCmdSetDepthBias: 1.75/0/2.5 (was 2.5/0/3.5 — too aggressive) - Removed early exit logic — was causing hard shadow edges - Always run 16-tap PCF for consistent soft shadow quality - Smaller sample radius: clamp(0.015 * dist/20, 0.003, 0.05)
This commit is contained in:
Binary file not shown.
Reference in New Issue
Block a user