mirror of
https://github.com/vladtrc/iw4L
synced 2026-10-26 02:11:39 -04:00
71e6e18c1c
A map zone streams the materials it shares with common_mp as ",name" references: stubs with no textures and no technique set. Since capture_material refuses a material without a technique set, the slot of such a reference was never bound and every model surface on it was dropped: 97 of the 14551 map model surfaces on mp_terminal and 28 of the 14125 on mp_favela, among them a surface of the wall fan cs_wallfan1 and one of the air conditioner com_ex_airconditioner. When the capture refuses a reference, the slot is now bound to the real material of the same name and namespace, which the common pool already holds. A reference with no real counterpart stays unbound as before. ",mc/shadowcaster" references bind now too, so scene_lit_pass_material skips shadow-only materials for script models and dyn ents, as the static model path already does. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>