[1.1.0] [Minor] Car light_animation very sensitive to main animation layer orders
Posted: Tue Nov 24, 2020 2:42 pm
Hi, was having big issues with updating my vehicles with glow-at-night lamps like the lovely new car and tanks in 1.1.
I was getting really glitchy, muted, inconsistent results from the new light_animation property and banged my head on it for over an hour, thinking I had gotten some property wrong. I even re-rendered the glows.
Eventually the penny dropped - it was a sorting index issue similar to this old one.
My vehicles had the shadow layer first followed by the base layers. Vanilla has it the other way around (base then colour masks then shadow last). When I swapped the order of the base animation and the shadow, the light_animation was immediately rendered correctly.
I was getting really glitchy, muted, inconsistent results from the new light_animation property and banged my head on it for over an hour, thinking I had gotten some property wrong. I even re-rendered the glows.
Eventually the penny dropped - it was a sorting index issue similar to this old one.
My vehicles had the shadow layer first followed by the base layers. Vanilla has it the other way around (base then colour masks then shadow last). When I swapped the order of the base animation and the shadow, the light_animation was immediately rendered correctly.