Search Unity

  1. Good news ✨ We have more Unite Now videos available for you to watch on-demand! Come check them out and ask our experts any questions!
    Dismiss Notice
  2. Ever participated in one our Game Jams? Want pointers on your project? Our Evangelists will be available on Friday to give feedback. Come share your games with us!
    Dismiss Notice

Bug Linear fog and Unlit shaders

Discussion in 'Editor & General Support' started by Willfree, Apr 29, 2020.

  1. Willfree


    May 28, 2018
    I've recently come across an issue using the Linear fog with unlit shaders.
    (It doesn't happen with the standard shader and I also noticed the issue with the PS1 shaders from the Asset Store but this time also with "unlit" disabled)

    The fog seems to simply stay in place until a wall is close enough from the camera.
    I tried using my textures as emission maps on the standard shader (which worked) but in my project I use the built-in unlit and custom shaders.

    Here is an example of the issue in a corridor :