Hugo Locurcio 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 8 bulan lalu
..
screenshots 31b962adba Add a global illumination demo 2 tahun lalu
README.md c22732e4cc Improve 3D global illumination demo 1 tahun lalu
camera.gd 2c244014df Revert accidental change in camera script in Global illumination demo 2 tahun lalu
cube.blend f6594e9923 Add a global illumination demo 2 tahun lalu
cube.glb f6594e9923 Add a global illumination demo 2 tahun lalu
cube.glb.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 8 bulan lalu
cube.glb.unwrap_cache 31b962adba Add a global illumination demo 2 tahun lalu
default_env.tres 31b962adba Add a global illumination demo 2 tahun lalu
icon.webp f6ac674864 Add icons for several projects (#886) 1 tahun lalu
icon.webp.import f6ac674864 Add icons for several projects (#886) 1 tahun lalu
project.godot 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 8 bulan lalu
test.gd c22732e4cc Improve 3D global illumination demo 1 tahun lalu
test.tscn 7e9078be51 Update Global Illumination demo for 4.0.rc1 (#839) 1 tahun lalu
test_VoxelGIData.res c22732e4cc Improve 3D global illumination demo 1 tahun lalu
zdm2.blend f6594e9923 Add a global illumination demo 2 tahun lalu
zdm2.glb f6594e9923 Add a global illumination demo 2 tahun lalu
zdm2.glb.import 2a962929f3 Update demo files for Godot 4.2.1 (#1013) 8 bulan lalu
zdm2.glb.unwrap_cache 31b962adba Add a global illumination demo 2 tahun lalu
zdm2_all.exr c22732e4cc Improve 3D global illumination demo 1 tahun lalu
zdm2_all.exr.import 7e9078be51 Update Global Illumination demo for 4.0.rc1 (#839) 1 tahun lalu
zdm2_all.lmbake c22732e4cc Improve 3D global illumination demo 1 tahun lalu
zdm2_indirect.exr c22732e4cc Improve 3D global illumination demo 1 tahun lalu
zdm2_indirect.exr.import 7e9078be51 Update Global Illumination demo for 4.0.rc1 (#839) 1 tahun lalu
zdm2_indirect.lmbake c22732e4cc Improve 3D global illumination demo 1 tahun lalu

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.