My game has top-down camera and there are times when the player character becomes hidden due to a large mesh such as a tree or a building getting in the way between her and the camera.
Maybe this is something related to coding as well but, can I somehow make a component to add those meshes in the level (or tag them) so when the player gets behind it, the mesh will appear half transparent? Preferably by fade effect, if possible?
What would be the right approach here? Any tips are welcome as well as tutorial links.