This will be applied to the entire screen but in the player's sight area.
The fog object will be a surface. We will play with the alpha coefficient depending on the player's position and aiming direction.
The fog object will also take into account the luminosity of the place. In a cave, the player's awareness radius will decrease. Also, during the night, etc.
Create fog object.
This will be applied to the entire screen but in the player's sight area.
The fog object will be a surface. We will play with the alpha coefficient depending on the player's position and aiming direction.
The fog object will also take into account the luminosity of the place. In a cave, the player's awareness radius will decrease. Also, during the night, etc.