Files
totk-pc-recomp/runtime
applezraandClaude Opus 5.5 bc5eb0cb15 Narrow the sun shadow filter by the shadow map scale
The deferred lighting shaders soften the sun shadow with four compares around the receiver, offset by element 56 .xy of
their lighting block. The offset is in UV and the game sized it for its own 960x960 cascades, so with shadow_scale above
1 it spans that many more texels and the near cascade shows four separate copies of each edge. Translator patch 0011
multiplies those reads by the support buffer's new shadow_spread field in fragment shaders that sample a 2D array
shadow texture, leaving fp_c4 (the cascade matrices) alone. support_fill writes 1 / shadow_scale there, so the spacing
stays the game's in texels; at shadow_scale 1 the shaders behave as before. The support buffer grows to 1440 bytes and
build_xlate.py expects eleven patches.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 21:10:27 -07:00
..
2026-10-30 15:29:53 +01:00
2026-10-30 15:29:53 +01:00
2026-10-30 15:29:53 +01:00
2026-10-30 15:29:53 +01:00
2026-10-30 15:29:53 +01:00
2026-10-30 15:29:53 +01:00
2026-10-30 15:29:53 +01:00