mirror of
https://github.com/godotengine/godot-demo-projects.git
synced 2026-01-06 07:50:22 +01:00
This leads to code that is easier to understand and runs faster thanks to GDScript's typed instructions. The untyped declaration warning is now enabled on all projects where type hints were added. All projects currently run without any untyped declration warnings. Dodge the Creeps and Squash the Creeps demos intentionally don't use type hints to match the documentation, where type hints haven't been adopted yet (given its beginner focus).
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
