godot-demo-projects/3d/volumetric_fog
Hugo Locurcio 1d5184e235
Update most demos for Godot 4.0.beta10 (#782)
2023-01-05 16:50:17 +01:00
..
screenshots
README.md Add a volumetric fog demo 2021-10-31 22:02:48 +01:00
camera.gd Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00
icon_outlined.png
icon_outlined.png.import Make volumetric fog demo work with Godot master 2022-03-26 2022-03-26 15:05:58 -05:00
project.godot Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00
volumetric_fog.tscn Update most demos for Godot 4.0.beta10 (#782) 2023-01-05 16:50:17 +01:00

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.

Language: GDScript

Renderer: Vulkan Clustered

Screenshots

Screenshot