itaskaev2 and Claude Opus 5.5
24571ec0b0
Add soft sun shadows (PCSS) through a translator patch
...
The deferred lighting shaders take the sun shadow as four explicit-LOD compares on the cascade array. Translator patch
0010 turns every explicit-LOD compare on a 2D array texture into a PCSS lookup when the support buffer's new pcss
field has x above 0: eight raw depth fetches within pcss.w find the blockers, (receiver - blocker) * pcss.x gives the
penumbra width clamped to pcss.y..pcss.z, and eight compares on a disc of that radius average to the result. With x at
0 the original single compare runs behind a branch. Radii are in UV, so they hold at any shadow_scale.
The support buffer grows to 1424 bytes; support_fill writes the field from pcss (percent of the default width, 0 to
200, default 0; TOTK_PCSS_K overrides the factor at 100 percent, default 0.5). build_xlate.py expects ten patches. The
setting is in totk.ini.example and on the Screen tab of the menu (English and Russian).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-10-30 16:00:23 +01:00
..
2026-10-29 12:41:12 +03:00
2026-10-30 15:29:53 +01:00
2026-10-23 23:54:57 +03:00
2026-10-30 16:00:23 +01:00
2026-10-25 18:28:00 +03:00
2026-10-25 18:28:00 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-27 13:12:50 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 17:53:57 +03:00
2026-10-30 16:00:23 +01:00
2026-10-28 21:45:48 +03:00
2026-10-30 15:29:53 +01:00
2026-10-28 20:05:44 +03:00
2026-10-29 12:41:12 +03:00
2026-10-23 22:27:54 +03:00
2026-10-26 09:32:30 +03:00
2026-10-23 22:27:54 +03:00
2026-10-28 18:27:11 +03:00
2026-10-27 11:01:54 +03:00
2026-10-27 11:01:54 +03:00
2026-10-27 13:40:34 +03:00
2026-10-27 13:40:34 +03:00
2026-10-28 21:22:30 +03:00
2026-10-24 10:41:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 12:58:01 +03:00
2026-10-26 09:49:15 +03:00
2026-10-30 15:29:53 +01:00
2026-10-29 12:58:01 +03:00
2026-10-29 12:41:12 +03:00
2026-10-28 12:25:25 +03:00
2026-10-29 17:53:57 +03:00
2026-10-29 17:53:57 +03:00
2026-10-29 17:53:57 +03:00
2026-10-29 17:53:57 +03:00
2026-10-29 12:41:12 +03:00
2026-10-23 22:27:54 +03:00
2026-10-26 09:32:30 +03:00
2026-10-29 12:58:01 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 12:41:12 +03:00
2026-10-29 12:58:01 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 12:58:01 +03:00
2026-10-26 20:39:13 +03:00
2026-10-27 13:12:50 +03:00
2026-10-29 12:58:01 +03:00
2026-10-23 22:27:54 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 12:58:01 +03:00
2026-10-23 22:27:54 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 14:31:41 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-28 16:51:36 +03:00
2026-10-26 09:32:30 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 17:50:40 +03:00
2026-10-27 13:12:50 +03:00
2026-10-29 12:58:01 +03:00
2026-10-28 18:27:12 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 17:50:40 +03:00
2026-10-27 15:21:41 +03:00
2026-10-27 15:21:41 +03:00
2026-10-29 12:58:01 +03:00
2026-10-23 22:27:54 +03:00
2026-10-30 15:06:58 +01:00
2026-10-23 22:27:54 +03:00
2026-10-27 13:40:34 +03:00
2026-10-28 12:25:25 +03:00
2026-10-28 12:25:25 +03:00
2026-10-29 12:41:12 +03:00
2026-10-26 17:50:40 +03:00
2026-10-29 12:41:12 +03:00
2026-10-29 12:41:12 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-25 14:14:46 +03:00
2026-10-29 12:58:01 +03:00
2026-10-27 13:12:50 +03:00
2026-10-26 16:48:02 +03:00
2026-10-24 19:35:33 +03:00
2026-10-26 16:48:02 +03:00
2026-10-30 16:00:23 +01:00
2026-10-30 16:00:23 +01:00
2026-10-28 16:41:46 +03:00
2026-10-27 13:40:34 +03:00
2026-10-27 13:12:50 +03:00
2026-10-30 15:29:53 +01:00
2026-10-27 16:05:24 +03:00
2026-10-26 16:26:11 +03:00
2026-10-30 16:00:23 +01:00
2026-10-29 12:58:01 +03: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-27 13:12:50 +03:00
2026-10-28 16:41:46 +03:00
2026-10-27 16:05:24 +03:00
2026-10-29 12:58:01 +03:00
2026-10-29 12:58:01 +03:00
2026-10-28 16:41:46 +03:00
2026-10-29 12:58:01 +03:00
2026-10-28 16:41:46 +03:00
2026-10-30 15:29:53 +01:00
2026-10-29 12:58:01 +03:00
2026-10-23 22:27:54 +03:00
2026-10-30 15:29:53 +01:00