Hugo Locurcio c423f3bfc6 Improve volumetric fog demo (#1014) 9 месяцев назад
..
screenshots c423f3bfc6 Improve volumetric fog demo (#1014) 9 месяцев назад
README.md c423f3bfc6 Improve volumetric fog demo (#1014) 9 месяцев назад
camera.gd c423f3bfc6 Improve volumetric fog demo (#1014) 9 месяцев назад
icon.webp f6ac674864 Add icons for several projects (#886) 1 год назад
icon.webp.import f6ac674864 Add icons for several projects (#886) 1 год назад
icon_outlined.png 31cc886d07 Add a volumetric fog demo 3 лет назад
icon_outlined.png.import f6ac674864 Add icons for several projects (#886) 1 год назад
project.godot c423f3bfc6 Improve volumetric fog demo (#1014) 9 месяцев назад
volumetric_fog.tscn c423f3bfc6 Improve volumetric fog demo (#1014) 9 месяцев назад

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