RenderSettings.fog = true;
RenderSettings examples don’t seem to be working. Is there a new way to get to these class vars?
RenderSettings.fog = true;
RenderSettings examples don’t seem to be working. Is there a new way to get to these class vars?
They work fine for me.
Perhaps check RenderSettings.fogDensity to make sure that has a value as well.
Because it it’s 0, there’s a good chance you still won’t see fog.
So…
RenderSettings.fogDensity = 0.03f;
I keep getting this error.
MissingFieldException: Field ‘RenderSettings.fogDensity’ not found.
I’m pasting the examples from the doc, so I don’t get it. It has been a while since I used the RenderSettings but I remember the code being simple lol.