itaskaev2 and Claude Opus 5.5
4edf63a6dd
Soft shadows keep their width on the ground across the sun cascades
...
The pcss radii and penumbra factor were in UV of whichever cascade map a pixel read, the same in every cascade. Each cascade's map spans 3.5 to 5 times the ground of the one before (measured on 1.4.3: the cascades end at about 4, 27, 120 and 450 m), so a soft shadow turned that much softer at every cascade step, a step that moves with the camera (issue #1291 ).
The runtime now measures each cascade from the camera block the lighting shaders read (c4 rows 42 to 57, a projective matrix per cascade, and row 58, the cascade ends): the UV and depth per metre where the cascade begins and ends. It passes two factors per cascade in two new support buffer fields, pcss_depth and pcss_scale, and translator patch 0017 applies them in the PCSS lookup. The values keep their meaning in the second cascade, which holds most shadows on screen, so the look at a given pcss value stays where most players see it. The narrowest radius stays in texels. The HDR field moves from byte 1440 to 1472. With pcss = 0 nothing changes.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com >
2026-11-19 11:41:00 +01:00
..
2026-11-17 10:54:17 +03:00
2026-11-19 11:41:00 +01:00
2026-10-23 23:54:57 +03:00
2026-11-18 19:12:50 +03:00
2026-11-03 16:39:50 +03:00
2026-11-02 17:43:29 +03:00
2026-10-25 18:28:00 +03:00
2026-10-31 13:59:28 +03:00
2026-11-13 08:38:08 +03:00
2026-11-13 08:38:08 +03:00
2026-11-02 03:16:58 +03:00
2026-10-23 22:27:54 +03:00
2026-11-14 22:28:42 +03:00
2026-11-02 03:16:58 +03:00
2026-10-23 22:27:54 +03:00
2026-11-13 08:38:08 +03:00
2026-11-14 22:28:42 +03:00
2026-10-31 07:34:59 +03:00
2026-11-07 16:38:26 +03:00
2026-11-17 08:48:23 +03:00
2026-10-31 07:08:11 -05:00
2026-11-18 18:34:50 +03:00
2026-11-18 19:12:50 +03:00
2026-11-18 18:46:52 +03:00
2026-11-17 10:54:17 +03:00
2026-11-01 14:16:53 +03:00
2026-10-31 10:02:16 -04:00
2026-11-15 10:05:54 +03:00
2026-11-15 00:31:00 +03:00
2026-11-11 14:48:24 +01:00
2026-11-03 20:56:36 +03:00
2026-11-17 08:48:23 +03:00
2026-11-17 08:48:23 +03:00
2026-11-03 17:31:58 +08:00
2026-11-03 08:40:13 +08:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-01 07:09:13 +08:00
2026-11-02 17:36:09 +03:00
2026-11-02 17:36:09 +03:00
2026-11-02 17:36:09 +03:00
2026-11-16 22:39:45 +02:00
2026-11-16 09:42:34 +01:00
2026-11-18 18:34:50 +03:00
2026-10-27 13:40:34 +03:00
2026-10-27 13:40:34 +03:00
2026-11-12 18:29:24 +03:00
2026-11-12 03:29:24 +02:00
2026-10-29 16:56:56 -03:00
2026-11-04 15:00:36 +03:00
2026-11-17 20:07:20 +03:00
2026-11-01 21:08:13 +08:00
2026-11-04 18:05:21 +03:00
2026-10-31 21:17:12 +01:00
2026-11-02 17:36:09 +03:00
2026-11-05 08:30:33 +03:00
2026-10-29 16:56:56 -03:00
2026-11-16 09:42:34 +01:00
2026-10-31 21:17:12 +01:00
2026-10-31 21:17:12 +01:00
2026-11-19 11:41:00 +01:00
2026-10-31 21:17:12 +01:00
2026-11-18 18:34:50 +03:00
2026-11-14 19:05:18 +03:00
2026-11-18 18:10:32 +03:00
2026-11-18 18:10:32 +03:00
2026-11-12 18:21:53 +03:00
2026-11-02 17:36:09 +03:00
2026-11-12 18:21:53 +03:00
2026-10-29 16:56:56 -03:00
2026-11-11 14:48:24 +01:00
2026-11-18 13:30:52 +03:00
2026-11-18 09:06:30 +03:00
2026-11-14 19:05:18 +03:00
2026-10-29 16:56:56 -03:00
2026-11-14 19:05:18 +03:00
2026-11-15 00:31:00 +03:00
2026-11-17 08:48:23 +03:00
2026-11-17 10:35:49 +03:00
2026-11-17 08:05:19 +03:00
2026-11-17 10:35:49 +03:00
2026-11-14 11:35:29 +03:00
2026-11-16 09:42:34 +01:00
2026-11-17 09:25:24 +03:00
2026-11-17 09:25:24 +03:00
2026-11-17 08:48:23 +03:00
2026-11-18 09:12:00 +03:00
2026-11-12 03:29:24 +02:00
2026-11-15 00:31:00 +03:00
2026-11-03 23:27:39 +01:00
2026-10-31 14:11:46 +00:00
2026-10-31 14:11:46 +00:00
2026-11-09 09:53:30 +03:00
2026-11-18 18:55:12 +03:00
2026-11-10 23:24:11 +03:00
2026-11-18 00:21:46 +03:00
2026-11-18 00:21:46 +03:00
2026-11-14 11:35:29 +03:00
2026-11-02 10:40:51 -03:00
2026-10-29 12:58:01 +03:00
2026-11-15 08:54:22 +03:00
2026-10-29 16:56:56 -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-11-09 09:53:30 +03:00
2026-11-12 20:31:40 +03:00
2026-10-29 16:56:56 -03:00
2026-11-16 09:42:34 +01:00
2026-11-13 08:38:08 +03:00
2026-11-03 23:41:10 +01:00
2026-11-18 09:06:30 +03:00
2026-10-31 14:11:46 +00:00
2026-11-13 08:38:08 +03:00
2026-10-27 13:12:50 +03:00
2026-11-16 20:11:43 +03:00
2026-11-08 11:46:10 +03:00
2026-11-03 20:09:22 +03:00
2026-11-03 20:09:22 +03:00
2026-11-06 10:55:42 +03:00
2026-11-17 09:33:49 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-17 20:17:57 +03:00
2026-10-29 16:56:56 -03:00
2026-11-18 18:34:50 +03:00
2026-11-05 10:49:55 -03:00
2026-11-05 10:49:55 -03:00
2026-11-05 10:49:55 -03:00
2026-10-23 22:27:54 +03:00
2026-11-18 18:46:52 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-15 00:31:00 +03:00
2026-11-15 00:31:00 +03:00
2026-11-17 08:48:23 +03:00
2026-10-29 17:29:31 -03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 12:41:12 +03:00
2026-10-29 12:41:12 +03:00
2026-10-31 13:26:42 +03:00
2026-10-23 22:27:54 +03:00
2026-10-25 14:14:46 +03:00
2026-11-15 11:12:40 +03:00
2026-10-31 07:27:46 +03:00
2026-10-26 16:48:02 +03:00
2026-10-30 13:40:04 +03:00
2026-10-26 16:48:02 +03:00
2026-11-18 19:12:50 +03:00
2026-11-18 19:12:50 +03:00
2026-10-29 16:56:56 -03:00
2026-11-09 09:20:09 +03:00
2026-11-18 18:55:13 +03:00
2026-11-10 09:01:54 +03:00
2026-10-31 10:02:16 -04:00
2026-11-17 20:05:15 +03:00
2026-11-08 19:39:17 +03:00
2026-11-07 16:38:26 +03:00
2026-11-15 20:13:00 +03:00
2026-11-18 18:46:16 +03:00
2026-11-18 18:29:28 +03:00
2026-10-31 14:44:48 +03:00
2026-11-19 11:41:00 +01:00
2026-11-15 18:55:39 +03:00
2026-11-08 19:39:17 +03:00
2026-11-16 18:03:42 +03:00
2026-11-18 18:18:22 +03:00
2026-10-31 07:27:46 +03:00
2026-10-31 13:26:42 +03:00
2026-11-12 23:21:04 +03:00
2026-11-09 10:51:49 +03:00
2026-11-18 18:55:13 +03:00
2026-11-03 17:31:58 +08:00
2026-11-10 14:59:31 +01:00
2026-11-03 19:39:49 +03:00
2026-11-08 19:39:17 +03:00
2026-11-18 18:18:22 +03:00
2026-11-14 11:35:29 +03:00
2026-11-08 19:39:17 +03:00
2026-11-18 02:03:53 +03:00
2026-11-17 20:12:18 +03:00
2026-11-18 08:13:26 +03:00
2026-10-23 22:27:54 +03:00
2026-11-18 18:55:13 +03:00
2026-11-03 01:19:10 +08:00