How do I make emissive material shine through fog?

I am making a game in Unity and I want to make an emissive material shine through fog? In fog it looks like this:

capture

I want it to look like this:

cap

I don’t recommend using the Font shader to make this work it’s made for Fonts! That shader is “working” because fonts are being rendered as UI which will overlay everything else.

You’re not actually seeing the emission here you’re just seeing the unlit material colour. The real answer is to increase the emission brightness on the material or decrease the fog density so you can see the material better.

I already found out the answer, sorry! But if anyone has the same issue, you have to set the shader for the material to UI/Default Font