How to preserve alpha in overlay material?

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

I want to tint an object dark.
I planned on using a material with transparent black color as overlay material to accomplish this, as it would be much easier to manage than manually changing the albedo color or creating custom shaders for every mesh in every object.

enter image description here

However, when I add the material, it ignores the alpha value of the albedo texture of the underlying material, destroying its appearance.
How can I avoid this? I tried both making a custom shader for the overlay material, and using a StandardMaterial3D, with the same result.

enter image description here

enter image description here

:bust_in_silhouette: Reply From: azeler

I had the same problem, solved it by increasing the Render Priority to 1 instead of 0.