-
Notifications
You must be signed in to change notification settings - Fork 2
Description
What happens:
When defining a material using "create" mode, whether because the mod defaulted to create or because you specified it, the resulting material can(maybe always, I'm not sure) fail to include all necessary material properties. In particular, the _Emissive property seems to be missing in this mode. When using "update" mode if the original material had the _Emissive property then the updated one will as well and you can correctly assign and use the Emissive map with it. Log output confirms the _Emissive property is completely inaccessible in these cases, as TU does not fill it with a blank(0,0,0,0) texture.
Resulting behavior:
Emission cannot be controlled by part modules, like ModuleColorChanger, which means no radiator glow no windows lighting up etc. You can restore the functionality by specifying "update" as the mode for the material.
Why:
Update mode uses the original material and its properties as a template, but create mode does not. I'm not confident I can diagnose exactly why. I think "create" mode should create a new material using the properties defined in the MATERIAL node as a guide, and so if _Emissive is defined then it should be available in the newly-created material, but maybe I've misunderstood how it's supposed to work.