Files
godot-demo-projects/3d/volumetric_fog
Hugo Locurcio 18c76b6dae Add tags to all demo projects
This makes sorting them in the project manager easier, as you can
click tags in the project manager to filter to a specific tag.
2023-06-26 18:03:50 +02:00
..
2021-10-31 22:02:48 +01:00
2021-10-31 22:02:48 +01:00
2023-06-26 18:03:50 +02:00
2021-10-31 22:02:48 +01:00

Volumetric Fog

This is an example of Godot's volumetric fog capabilities with the Vulkan renderer.

Showcased features are:

  • Positive/negative density volumes that affect albedo (incoming light) and emission.
  • Box/ellipsoid shapes, height falloff, and density modulation using a 3D texture.
  • Temporal reprojection for greater stability and avoiding flickering.
    • The difference is demonstrated with a moving fog volume.
  • Global density adjustment. With FogVolume nodes that have a positive density, it's possible to apply volumetric fog only in specific areas.

Language: GDScript

Renderer: Vulkan Clustered

Screenshots

Screenshot