Aaron Franke 5646c6a7a8 Open and save 3D demos in Godot 4.3 stable (#1109) преди 4 месеца
..
screenshots 31b962adba Add a global illumination demo преди 2 години
README.md b4c73f4888 Fix README links to asset library (#1078) преди 6 месеца
camera.gd bac1e69164 Use static typing in all demos (#1063) преди 7 месеца
cube.blend f6594e9923 Add a global illumination demo преди 2 години
cube.glb f6594e9923 Add a global illumination demo преди 2 години
cube.glb.import 5646c6a7a8 Open and save 3D demos in Godot 4.3 stable (#1109) преди 4 месеца
cube.glb.unwrap_cache 31b962adba Add a global illumination demo преди 2 години
default_env.tres 31b962adba Add a global illumination demo преди 2 години
icon.webp f6ac674864 Add icons for several projects (#886) преди 1 година
icon.webp.import f6ac674864 Add icons for several projects (#886) преди 1 година
project.godot 5646c6a7a8 Open and save 3D demos in Godot 4.3 stable (#1109) преди 4 месеца
test.gd bac1e69164 Use static typing in all demos (#1063) преди 7 месеца
test.tscn 785e3213d5 Use higher shadow filtering quality settings in 3D demos (#1067) преди 7 месеца
test_VoxelGIData.res c22732e4cc Improve 3D global illumination demo преди 2 години
zdm2.blend f6594e9923 Add a global illumination demo преди 2 години
zdm2.glb f6594e9923 Add a global illumination demo преди 2 години
zdm2.glb.import 5646c6a7a8 Open and save 3D demos in Godot 4.3 stable (#1109) преди 4 месеца
zdm2.glb.unwrap_cache 31b962adba Add a global illumination demo преди 2 години
zdm2_all.exr af93126e05 Fix missing baked_exposure (#1043) преди 9 месеца
zdm2_all.exr.import af93126e05 Fix missing baked_exposure (#1043) преди 9 месеца
zdm2_all.lmbake af93126e05 Fix missing baked_exposure (#1043) преди 9 месеца
zdm2_indirect.exr af93126e05 Fix missing baked_exposure (#1043) преди 9 месеца
zdm2_indirect.exr.import af93126e05 Fix missing baked_exposure (#1043) преди 9 месеца
zdm2_indirect.lmbake af93126e05 Fix missing baked_exposure (#1043) преди 9 месеца

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: Forward+

Check out this demo on the asset library: https://godotengine.org/asset-library/asset/2737

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.