Unity 5 Fog not working on Standard shader

Has anyone had issues with fog and the standard shader? Allot of my objects seem to be ignoring the fog setting i have applied in the lighting window.

I have a shaderforge triplanar shader that receives fog just fine however and i’m wondering whats going on.

Thx

Yea, I have the same issue! Fog is working properly on my custom shaders but on the built-in Standard shader. I think that it’s a bug which should be reported.

Is there anyone else out there who has had this bug? I imported the viking village today into a fresh project and still had the same fog issue.

Fog doesnt seem to efffect any asset in their scene.

same issue here!
it does work on the standard shader when used in fade or transparent. but not in opaque and cutout…

any news on a fix for this?!!?

FOUND A FIX.

go to your ProjectSettings folder and delete the ProjectSettings.asset
it seems unity4 and unity5 have completely different ProjectSettings.asset file structures.

I closed unity, deleted the file and when i opened it again, unity automatically created the new ProjectSettings.asset file. now Fog works like it should!

This should have been done automatically by unity when it “upgraded” my project to unity5.

1 Like

But is the player still set to deferred? Or has it reverted to forward, hence the fog works again? I remember reading back in the Unity 5 beta it was by design that the new full deferred path wouldn’t support built-in fog, only the global fog ImageFX .

yes thats it ddnharris. it was set back to forward. any comments on why the change to not support fog anymore in deferred!? its just a horrible workflow to not have the fog in the scene view. also i am still trying to get the global fog to even work on 5.0.1