Sprites do not work with global fog
Hello! I am having trouble getting 2D objects to work with fog. The sprites always draw on top of the fog... I am using Sprite/Diffuse shader on my sprites and the Global Fog script/shader on my camera. I have tried modifying the stock shader with ZWrite = On but that does nothing for me. I'm using Unity 5.5.0f3. Can anyone shed some insight into this? I'm trying to build a retro style shooter with oldschool sprites and this is really blocking me at the moment
Here is an example screenshot:
problem.png
(521.5 kB)
Comment