Brues
3bbead72c8
fix(model): ModelScene WMOs no longer draw pink outside their own fog
...
A WMO's exterior group drawer (0x006B4F10), and the interior one too,
turns the device fog on for every material without flag 0x2 and keeps
the fog range the device holds: the world always commits a fog
(M2LightingSetDeviceLights 0x0071C730) just before. A scene without fog,
outside a WMO's own fog, committed a record with none, which turns the
fog off and leaves the range alone, so the drawers fogged with the
device's starting state (0x00593BF0): 0 to 1.0, in 0xFFFF0080. Every
exterior surface past a yard drew solid pink: Onyxia's Lair from
outside, all of Stormwind.
After the commit, a scene without fog now sets the device fog range from
the far clip to 1e10, the fog end of a world without light (the
immediate at 0x006D2301), under a render-state scope around the WMO's
draw and its liquids' draw: the drawers' fog then covers nothing the
scene draws, as its models show none.
2026-11-09 11:51:32 -06:00
..
2026-11-06 11:34:27 -06:00
2026-11-09 11:51:27 -06:00
2026-11-09 11:51:25 -06:00
2026-11-06 11:34:27 -06:00
2026-10-28 18:10:08 -05:00
2026-11-06 17:29:02 -06:00
2026-11-06 11:34:27 -06:00
2026-10-31 06:06:38 -05:00
2026-11-03 15:33:30 -06:00
2026-11-09 11:51:27 -06:00
2026-10-28 21:42:15 -05:00
2026-10-19 00:52:28 -05:00
2026-06-29 16:38:16 -05:00
2026-11-01 14:15:25 -06:00
2026-10-19 10:11:09 -05:00
2026-09-14 13:12:25 -05:00
2026-10-19 10:11:09 -05:00
2026-07-26 01:57:56 -05:00
2026-11-06 12:58:12 -06:00
2026-11-06 17:29:02 -06:00
2026-11-02 13:00:50 -06:00
2026-10-21 20:13:40 -05:00
2026-11-06 11:34:27 -06:00
2026-11-06 11:34:27 -06:00
2026-10-23 15:31:39 -05:00
2026-11-06 17:29:11 -06:00
2026-11-06 11:34:27 -06:00
2026-11-06 11:34:27 -06:00
2026-10-22 18:10:07 -05:00
2026-11-04 15:32:22 -06:00
2026-11-06 11:34:27 -06:00
2026-09-14 21:37:43 -05:00
2026-11-06 11:34:27 -06:00
2026-11-09 11:51:27 -06:00
2026-11-09 11:51:28 -06:00
2026-11-06 11:34:27 -06:00
2026-11-06 11:27:22 -06:00
2026-11-09 11:51:27 -06:00
2026-10-28 12:49:57 -05:00
2026-10-28 18:49:32 -05:00
2026-11-09 11:51:27 -06:00
2026-11-09 11:51:27 -06:00
2026-10-28 18:21:41 -05:00
2026-11-06 11:27:22 -06:00
2026-11-02 13:00:50 -06:00
2026-09-12 23:20:46 -05:00
2026-10-28 18:53:12 -05:00
2026-11-01 11:05:24 -06:00
2026-09-12 23:47:08 -05:00
2026-11-09 11:51:27 -06:00
2026-11-09 11:51:25 -06:00
2026-06-29 16:38:16 -05:00
2026-11-09 11:51:27 -06:00
2026-11-06 11:34:27 -06:00
2026-11-06 10:25:00 -06:00
2026-11-06 23:25:23 -06:00
2026-10-28 02:25:06 -05:00
2026-10-22 08:38:48 -05:00
2026-10-21 20:43:56 -05:00
2026-11-03 00:37:16 -06:00
2026-06-29 16:38:16 -05:00
2026-11-04 02:36:18 -06:00
2026-10-28 14:12:32 -05:00
2026-11-09 11:51:32 -06:00
2026-11-09 11:51:26 -06:00
2026-11-01 21:46:34 -06:00
2026-11-01 13:16:56 -06:00
2026-10-29 19:21:47 -05:00
2026-10-30 21:12:37 -05:00
2026-10-28 14:25:10 -05:00
2026-11-04 13:02:26 -06:00
2026-10-23 15:31:39 -05:00
2026-11-04 15:32:22 -06:00
2026-11-06 11:34:27 -06:00
2026-10-24 18:15:27 -05:00
2026-10-17 15:52:58 -05:00
2026-11-09 11:51:27 -06:00
2026-06-29 16:38:16 -05:00
2026-11-01 12:34:31 -06:00
2026-11-06 11:27:22 -06:00
2026-11-09 11:51:30 -06:00
2026-11-09 11:28:51 -06:00
2026-11-06 11:34:27 -06:00
2026-11-09 11:51:27 -06:00
2026-11-03 14:23:25 -06:00
2026-11-06 11:27:22 -06:00
2026-11-04 02:36:18 -06:00
2026-11-06 11:34:27 -06:00
2026-11-09 11:51:27 -06:00
2026-11-09 11:51:27 -06:00
2026-11-01 22:48:32 -06:00
2026-11-01 22:28:01 -06:00
2026-11-09 11:51:27 -06:00
2026-11-06 11:27:22 -06:00
2026-10-30 22:16:16 -05:00
2026-10-28 20:11:12 -05:00
2026-10-22 00:48:10 -05:00
2026-11-01 14:38:33 -06:00
2026-11-06 11:52:58 -06:00
2026-11-01 00:00:27 -05:00
2026-11-09 11:51:27 -06:00
2026-08-19 17:46:59 -05:00
2026-11-04 02:36:18 -06:00
2026-11-04 02:36:18 -06:00
2026-11-09 11:05:32 -06:00
2026-11-09 11:51:25 -06:00
2026-11-09 11:51:25 -06:00
2026-10-31 16:44:34 -05:00
2026-10-18 04:34:15 -05:00
2026-11-09 11:51:32 -06:00