You are welcome 🙂
So, regarding linear fog, it’s simply a matter of adding these lines of code in the existing AnimateFog.cs script.
But please do this only after you update to the new version that is going to go live anytime now, as to avoid losing work when you update since updating will overwrite the files.
1
2
3
4
5
6
7
8
9
10
11
12
13
[AnimatableParameter]
publicfloatlinearFogStartDistance{
get{returnRenderSettings.fogStartDistance;}
set{RenderSettings.fogStartDistance=value;}
}
[AnimatableParameter]
publicfloatlinearFogEndDistance{
get{returnRenderSettings.fogEndDistance;}
set{RenderSettings.fogEndDistance=value;}
}
This change will be included in the yet next version I submit.
Cheers!
Join us on Discord: https://discord.gg/97q2Rjh
Login
Register
By registering on this website you agree to our Privacy Policy.