Files
godot-demo-projects/3d/lights_and_shadows
Hugo Locurcio 5f4a9e409f Use InputEventMouseMotion.screen_relative where relevant in all demos (#1232)
This provides mouse sensitivity that is independent of the viewport
size, without needing to query for project settings.

This also inverts the mouse motion direction in the 3D navigation demo
to better match expectations, and increases mouse sensitivity in the
Window Management demo to be closer to other demos.
2025-10-01 18:54:19 -07:00
..
2023-01-16 08:40:24 +01:00
2025-03-21 02:00:41 +01:00
2024-06-01 12:12:18 +02:00
2025-03-21 02:00:41 +01:00
2025-03-21 02:00:41 +01:00
2025-03-21 02:00:41 +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+

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

Screenshots

Screenshot