0
Under review

override fog

vincent 11 years ago updated by Freya Holmér (Developer) 11 years ago 3
Is this possible when these are enabled to make it a property in the material? So I don't have to get into the shader again, and of course it then would be tweak-able per material.
I would say no, it's not possible, due to how the fog system works, unless you make it manually. But there might be ways, I'll have to do some research :)
In the meantime, you can use the View Pos and World Pos, to check the distance between them, and add fog accordingly