0
Wird überprüft

override fog

vincent vor 10 Jahren aktualisiert von Freya Holmér (Developer) vor 10 Jahren 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