Character casts a shadow while standing inside a building's shadow (shadow-in-shadow double darkening) #19
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Version: 2026.11.17-09b0d15 (Windows/amd64)
Server: server.catseyexi.com (Native loader)
Location: Southern San d'Oria (zone 230), Lion Square (M-6)
System: NVIDIA GeForce RTX 5070 Ti Laptop GPU (driver 32.0.16.1692), D3D12 backend.
Graphics config: shadows Medium (world 4096² ±180y, actor 2048² ±24y, 3x3 taps), AO Medium, MSAA 4x.
Description
When the character stands inside a building's shadow, they still cast their own sun shadow on the ground. The character's shadow appears as a darker silhouette inside the already-shadowed area (circled in the screenshot). That can't happen physically: the sun is already blocked there, so there's no direct light left for the character to block.
Possible cause
The log shows two separate shadow maps: one for the world (4096², ±180y) and one for actors (2048², ±24y). The two seem to be applied independently and their darkening stacked (multiplied/added), instead of combined as a single visibility term. Fix: take the combined shadow factor as
min(worldShadow, actorShadow)(or sample both and treat the pixel as lit only if neither occludes), so an actor shadow inside world shadow adds no extra darkening.Steps to reproduce
Log
Screenshot
Fixed in https://git.bangplays.games/Banggugyangu/Zantetsuken-Releases/releases/tag/11_18_01