Right now the fact that ATTR_light_level is controlled via material properties makes the proliferation of materials a big problem. What has been asked for is a mesh specific ATTR_light_level override which is used (even when the Object's material has ATTR_light_level).
[x] Unit tests
[x] Does the feature emit ATTR_light_level
[x] Does the feature emit the correct ATTR_light_level even when it's material has also overridden
[x] Does weird combinations of ATTR_light_level on and off
[x] Does the feature ATTR_light_level always close after TRIS blocks
[x] Code
[x] XPlanePrimative and XPlaneMaterial code
[ ] Docs
[ ] Screenshot
[ ] Brief explanation of the relationship between xplane_material and the mesh option
Right now the fact that ATTR_light_level is controlled via material properties makes the proliferation of materials a big problem. What has been asked for is a mesh specific ATTR_light_level override which is used (even when the Object's material has ATTR_light_level).
ATTR_light_level
ATTR_light_level
even when it's material has also overriddenATTR_light_level
always close after TRIS blocks