A way to circumvent transparency issues?

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By CodedOre

So, for the project I am working on I wanted to implement a working Vector lightbar on a police vehicle (as seen on vehicles of the NYPD).

My idea for the implementation was to use a mesh with transparency and within a OmniLight as light, as this seems to me the best solution to the problem, as I also want to try to include an additional, animated mesh so I can simulate rotating lights.

However, the mesh looks not as intended:

bad looking mesh

I am aware that there is a known limitation with transparency sorting, and I could probably circumvent this problem by putting a different lightbar on the vehicle, but I would first try if I could make this possible.

So, my question is if there is a way to make this reasonably work inside Godot with the known limitations.

:bust_in_silhouette: Reply From: Calinou

This would likely be fixed by [3.x] VisualServer now sorts based on AABB position by QbieShay · Pull Request #43506 · godotengine/godot · GitHub, but it’s too late to merge it for 3.2.4 since it’s nearing release.