Simple fog for simple endless run project

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By wahyuadiramadan

How can i creating fog in main scene im trying to make endless run game and i want to limiting the player with the fog, so the player just see the near obstacles, im new in 3d game and im sorry im bad in English too

:bust_in_silhouette: Reply From: Calinou
  1. Create a WorldEnvironment node in your 3D scene.
  2. Add a new Environment resource to it. The sky will turn gray when you do so; you’ll have to configure it in the Environment resource to get it back. You can do this by editing the Environment resource and adding a new ProceduralSky to the background property.
  3. Click the Environment resource to edit it, then check the Fog property in Environment.
  4. Configure the depth fog range and color to your liking.

Oh yes it works i dont know that world Environment is a node i think i should edit in project setting or in editor setting,

After adding world env in my scene and adjust it, my 3d mesh is look flat, its kinda like there is no lighting on it,i think how i fix this?

wahyuadiramadan | 2020-03-10 14:04