Hugo Locurcio c423f3bfc6 Improve volumetric fog demo (#1014) 9 månader sedan
..
screenshots c423f3bfc6 Improve volumetric fog demo (#1014) 9 månader sedan
README.md c423f3bfc6 Improve volumetric fog demo (#1014) 9 månader sedan
camera.gd c423f3bfc6 Improve volumetric fog demo (#1014) 9 månader sedan
icon.webp f6ac674864 Add icons for several projects (#886) 1 år sedan
icon.webp.import f6ac674864 Add icons for several projects (#886) 1 år sedan
icon_outlined.png 31cc886d07 Add a volumetric fog demo 3 år sedan
icon_outlined.png.import f6ac674864 Add icons for several projects (#886) 1 år sedan
project.godot c423f3bfc6 Improve volumetric fog demo (#1014) 9 månader sedan
volumetric_fog.tscn c423f3bfc6 Improve volumetric fog demo (#1014) 9 månader sedan

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