godot-demo-projects/3d/volumetric_fog
Aaron Franke 5646c6a7a8
Open and save 3D demos in Godot 4.3 stable (#1109)
2024-08-27 13:40:06 -07:00
..
screenshots Improve volumetric fog demo (#1014) 2024-02-01 17:30:35 +01:00
README.md Fix README links to asset library (#1078) 2024-06-24 19:29:58 +02:00
camera.gd
icon.webp
icon.webp.import
icon_outlined.png
icon_outlined.png.import
project.godot Open and save 3D demos in Godot 4.3 stable (#1109) 2024-08-27 13:40:06 -07:00
volumetric_fog.tscn

README.md

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.
  • Custom FogVolume shader with real-time 3D noise (provided by alghost).

Language: GDScript

Renderer: Forward+

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/2754

Screenshots

Screenshot