After updating to Corona 12, this statement cannot get the correct result:
renderers.current.colormap_lightmix_elementNames
Specific problem description:
Suppose there are 2 lights in the scene, CoronaLight01 and CoronaLight02, and independent LightMix render elements are added to them respectively. Then, after executing this statement, the following result should be obtained:
#("CoronaLight01", "CoronaLight02", "Rest (unassigned)")
However, after updating to Corona 12, after executing this statement, the result will become as follows:
-- 3ds max 2021:
#("Interactive LightMix")
-- 3ds max 2024:
#("CoronaLightMix")
-- I only tested these two versions
The light name information was replaced by fixed information. This caused my scripts to not work properly. There was no such problem in Corona 11 and previous versions. Is this a bug or a planned change?