fix: increase shadow bias — slope-dependent + larger depth bias

- Fragment shader: bias = 0.3 + 0.5 * (1 - NdotL) — slope-dependent
  Grazing angles get larger bias to prevent acne on cube faces
- vkCmdSetDepthBias: 2.5/0/3.5 (was 1.25/0/1.75) — more aggressive
  polygon offset for shadow map rendering
- Early exit tolerance reduced from 4x to 3x bias
This commit is contained in:
emil28092005
2026-06-18 21:38:48 +03:00
parent 7e33b64ac9
commit 23b38f8f17
3 changed files with 4 additions and 4 deletions
Binary file not shown.