Files
godot-demo-projects/3d/lights_and_shadows
Hugo Locurcio bac1e69164 Use static typing in all demos (#1063)
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).
2024-06-01 12:12:18 +02:00
..
2023-01-16 08:40:24 +01:00
2024-06-01 12:12:18 +02:00
2023-01-16 08:40:24 +01:00

3D Lights and Shadows

This project showcases various 3D light and shadow features supported by Godot. This includes contact-hardening shadows (PCSS) and light projectors.

The background sky uses a PhysicalSkyMaterial, which allows for the sky colors to be automatically adjusted as the sun performs a day/night cycle. The radiance map (used to provide ambient and reflected light to the scene) is updated in real-time with the environment sky's process mode set accordingly.

Language: GDScript

Renderer: Forward+

Screenshots

Screenshot