Michael Anthony Bitoon
984c9bc7c3
Read the gradients of a TXD per coordinate so terrain picks the right mip level
...
TotK's terrain shaders fill the gradient registers of a texture-with-derivatives instruction per coordinate (du/dx, du/dy, dv/dx, dv/dy), while the translator takes the first two registers as dPdx and the last two as dPdy. The mip level then came from the wrong derivatives and was too sharp on terrain faces turned across the screen, so patches that followed the faces crawled when the camera moved.
After a shader loads, every two-dimensional gradient pair has its inner components swapped by two new composite constructs, so the shader cache is untouched. TOTK_TXD_TRANSPOSE=0 turns it off. The finding is row 2.13 of docs/maxwell.md.
2026-11-02 11:59:29 +08:00
..
2026-11-01 18:17:27 +03:00
2026-11-01 11:40:27 +03:00
2026-10-23 23:54:57 +03:00
2026-11-01 18:15:41 +03:00
2026-10-31 14:11:46 +00:00
2026-10-31 14:11:46 +00:00
2026-10-25 18:28:00 +03:00
2026-10-31 13:59:28 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 07:12:48 +03:00
2026-10-23 22:27:54 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 07:34:59 +03:00
2026-11-01 17:51:58 +03:00
2026-10-31 07:08:11 -05:00
2026-11-01 18:15:41 +03:00
2026-11-02 11:59:29 +08:00
2026-10-29 18:14:30 -03:00
2026-11-01 14:29:40 +03:00
2026-11-01 14:16:53 +03:00
2026-10-31 10:02:16 -04:00
2026-10-30 15:29:53 +01:00
2026-11-01 07:09:13 +08:00
2026-11-01 10:10:09 +03:00
2026-10-23 22:27:54 +03:00
2026-10-31 03:34:55 +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-01 21:08:13 +08:00
2026-10-31 21:00:01 +03:00
2026-11-01 13:14:37 +03:00
2026-10-27 13:40:34 +03:00
2026-10-27 13:40:34 +03:00
2026-10-29 16:56:56 -03:00
2026-10-24 10:41:54 +03:00
2026-11-01 11:39:38 +03:00
2026-11-01 21:08:13 +08:00
2026-11-02 11:59:29 +08:00
2026-10-31 21:17:12 +01:00
2026-10-31 13:26:42 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 21:17:12 +01:00
2026-10-31 21:17:12 +01:00
2026-10-31 21:17:12 +01:00
2026-11-01 11:39:38 +03:00
2026-10-31 21:17:12 +01:00
2026-11-01 17:51:58 +03:00
2026-11-01 00:53:17 +03:00
2026-11-01 12:16:08 +03:00
2026-11-01 12:16:08 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-30 21:58:22 -07:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-01 12:16:08 +03:00
2026-11-01 12:16:08 +03:00
2026-10-31 14:11:46 +00:00
2026-10-29 16:56:56 -03:00
2026-11-01 10:10:09 +03:00
2026-11-01 22:20:36 +03:00
2026-11-01 10:10:09 +03:00
2026-11-01 21:08:13 +08:00
2026-11-01 13:14:36 +03:00
2026-10-29 16:56:56 -03:00
2026-11-01 14:29:40 +03:00
2026-11-01 14:29:40 +03:00
2026-11-01 14:29:40 +03:00
2026-10-31 13:26:42 +03:00
2026-10-29 16:56:56 -03:00
2026-10-23 22:27:54 +03:00
2026-10-31 14:11:46 +00:00
2026-10-31 14:11:46 +00:00
2026-10-31 23:38:20 +03:00
2026-10-29 16:56:56 -03:00
2026-11-01 10:55:01 +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 16:56:56 -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-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-01 22:20:36 +03:00
2026-10-31 14:11:46 +00:00
2026-10-29 16:56:56 -03:00
2026-10-27 13:12:50 +03:00
2026-10-26 17:50:40 +03:00
2026-10-31 11:42:51 -03:00
2026-10-31 02:03:34 -03:00
2026-10-27 15:21:41 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-11-01 11:40:27 +03:00
2026-11-01 14:05:41 +03:00
2026-11-01 14:05:41 +03:00
2026-10-23 22:27:54 +03:00
2026-11-01 14:05:41 +03:00
2026-10-29 16:56:56 -03:00
2026-10-29 16:56:56 -03:00
2026-10-28 12:25:25 +03:00
2026-11-01 07:09:13 +08:00
2026-10-29 16:56:56 -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-10-29 17:29:31 -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-01 14:29:40 +03:00
2026-11-01 14:29:40 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 13:26:42 +03:00
2026-11-01 11:40:27 +03:00
2026-10-31 13:26:42 +03:00
2026-10-31 10:02:16 -04:00
2026-10-30 15:29:53 +01:00
2026-10-30 19:48:38 +03:00
2026-11-01 11:40:27 +03:00
2026-11-01 11:42:15 +03:00
2026-10-31 15:33:03 +08:00
2026-10-31 14:44:48 +03:00
2026-11-01 11:40:27 +03:00
2026-10-31 21:17:12 +01:00
2026-10-31 14:44:48 +03:00
2026-11-01 11:40:27 +03:00
2026-11-01 11:39:38 +03:00
2026-10-31 07:27:46 +03:00
2026-10-31 13:26:42 +03:00
2026-11-01 11:15:50 +03:00
2026-10-29 16:56:56 -03:00
2026-10-31 15:02:30 -07:00
2026-10-31 16:39:38 -03:00
2026-11-01 11:31:17 +02:00
2026-10-30 23:50:02 +03:00
2026-10-31 11:42:51 -03:00
2026-11-01 17:51:00 +03:00
2026-11-01 00:16:47 +08:00
2026-10-23 22:27:54 +03:00
2026-11-01 11:39:38 +03:00