godot-demo-projects/3d/global_illumination
Hugo Locurcio 7e9078be51
Update Global Illumination demo for 4.0.rc1 (#839)
2023-02-08 22:45:22 +01:00
..
screenshots Add a global illumination demo 2022-04-06 17:44:56 +02:00
README.md Improve 3D global illumination demo 2023-01-18 07:35:31 +01:00
camera.gd Revert accidental change in camera script in Global illumination demo 2022-04-25 18:40:49 +02:00
cube.blend
cube.glb
cube.glb.import Improve 3D global illumination demo 2023-01-18 07:35:31 +01:00
cube.glb.unwrap_cache Add a global illumination demo 2022-04-06 17:44:56 +02:00
default_env.tres Add a global illumination demo 2022-04-06 17:44:56 +02:00
icon.png Add a global illumination demo 2022-04-06 17:44:56 +02:00
icon.png.import Improve 3D global illumination demo 2023-01-18 07:35:31 +01:00
project.godot Update Global Illumination demo for 4.0.rc1 (#839) 2023-02-08 22:45:22 +01:00
test.gd Improve 3D global illumination demo 2023-01-18 07:35:31 +01:00
test.tscn Update Global Illumination demo for 4.0.rc1 (#839) 2023-02-08 22:45:22 +01:00
test_VoxelGIData.res Improve 3D global illumination demo 2023-01-18 07:35:31 +01:00
zdm2.blend
zdm2.glb
zdm2.glb.import Improve 3D global illumination demo 2023-01-18 07:35:31 +01:00
zdm2.glb.unwrap_cache Add a global illumination demo 2022-04-06 17:44:56 +02:00
zdm2_all.exr Improve 3D global illumination demo 2023-01-18 07:35:31 +01:00
zdm2_all.exr.import Update Global Illumination demo for 4.0.rc1 (#839) 2023-02-08 22:45:22 +01:00
zdm2_all.lmbake Improve 3D global illumination demo 2023-01-18 07:35:31 +01:00
zdm2_indirect.exr Improve 3D global illumination demo 2023-01-18 07:35:31 +01:00
zdm2_indirect.exr.import Update Global Illumination demo for 4.0.rc1 (#839) 2023-02-08 22:45:22 +01:00
zdm2_indirect.lmbake Improve 3D global illumination demo 2023-01-18 07:35:31 +01:00

README.md

Global Illumination

This demo showcases Godot's global illumination systems: LightmapGI, VoxelGI, SDFGI, ReflectionProbe and screen-space effects like SSAO and SSIL.

Use the mouse to look around, W/A/S/D or arrow keys to move.

Language: GDScript

Renderer: Vulkan

How does it work?

A sphere and box are parented to the camera to showcase dynamic object lighting. A ReflectionProbe is parented to the sphere to showcase real-time reflections. When the ReflectionProbe is hidden, it is disabled. In this case, VoxelGI, SDFGI or environment lighting will be used to provide fallback reflections.

A Decal node is parented to the moving sphere and cube to provide simple shadows for them. This is especially effective when using the LightmapGI (All) global illumination mode, which doesn't allow dynamic objects to cast shadows on static surfaces.

Screenshots

Screenshot

Licenses

zdm2.glb is derived from the Cube 2: Sauerbraten map "zdm2" and is licensed under CC BY 4.0 Unported. The OBJ file which it was converted from is available in the game-maps-obj repository.