Hugo Locurcio c423f3bfc6 Improve volumetric fog demo (#1014) há 9 meses atrás
..
screenshots c423f3bfc6 Improve volumetric fog demo (#1014) há 9 meses atrás
README.md c423f3bfc6 Improve volumetric fog demo (#1014) há 9 meses atrás
camera.gd c423f3bfc6 Improve volumetric fog demo (#1014) há 9 meses atrás
icon.webp f6ac674864 Add icons for several projects (#886) há 1 ano atrás
icon.webp.import f6ac674864 Add icons for several projects (#886) há 1 ano atrás
icon_outlined.png 31cc886d07 Add a volumetric fog demo há 3 anos atrás
icon_outlined.png.import f6ac674864 Add icons for several projects (#886) há 1 ano atrás
project.godot c423f3bfc6 Improve volumetric fog demo (#1014) há 9 meses atrás
volumetric_fog.tscn c423f3bfc6 Improve volumetric fog demo (#1014) há 9 meses atrás

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: Vulkan Clustered

Screenshots

Screenshot