Hello everyone, i know it might be stupid question to ask, but to be honest i dont even know how i would google this question. I needed a Fog of War for my game, and i found this brilliant demo on Youtube, and i was able to mimic this system myself, and it works, but i want to make it better suited for my usecase. I want some area where player starts to be always visible, then the further it goes from a player, the fog becomes more thick. I have uploaded pictures of that im trying to do and how i have done it so far. I really hope for some help around this topic, as there is not much info online about FogOfWar. In 2 words im trying to achieve the fog like in XCOM, how it gradually increases from the player start.
This is what i have so far, i was able to make the triangle i was looking for but now i need to make it circular with fade over distance, and i dont even know where to start or what to look for.
This is the result im hoping to see at the end.
I will appreciate any help with deeper understanding of material scripting