feat: soft shadows — 16-tap Poisson disk PCF on cubemap
- 16 precomputed Poisson disk offsets on tangent plane - Tangent basis built from sampling direction (cross product trick) - Sample radius scales with distance: closer = sharper, farther = softer radius = clamp(0.02 * (dist / 20), 0.005, 0.08) - Early exit: skip PCF if clearly lit or clearly shadowed (performance) - Bias increased to 0.15 for cubemap distance comparison - Only triangle.frag changed — no C# or Vulkan resource changes - 227 tests, all pass
This commit is contained in:
Binary file not shown.
Reference in New Issue
Block a user