How can I access the Post Processing Fog effect over code?
I try
using UnityEngine.Rendering.PostProcessing;
Fog mFog = null;
But it gives an error. I want to change Fog Attenuation Distance over code
How can I access the Post Processing Fog effect over code?
I try
using UnityEngine.Rendering.PostProcessing;
Fog mFog = null;
But it gives an error. I want to change Fog Attenuation Distance over code
and also My fog class does not contain Fog Attenuation Distance? is there any other fog setting class ?
Ohh my mistake,
using UnityEngine.Rendering;
using UnityEngine.Rendering.HighDefinition;
solved