Color overlay on a 3dAnimatedSprite?

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

Hi Guys. I have an unshaded 3d animated sprite which I want to be obscured by fog. Fog doesn’t work on unshaded sprites so I wanted to write a func that would overlay the sprite with the color of the fog, relative to the distance from the camera. Modulate won’t cut it because it cannot overlay solid colors onto sprites. Does anyone have any ideas?