A dynamic day/night cycle for Godot Engine 4, written in GDScript.
- Supports Godot 4.3+, Forward and Mobile renderers (Not Compatibility yet)
- Automatically rotating sun, moon, and stars, with moon phases
- Dynamic atmosphere, fog, and clouds that change with the day cycle
- Consolidated controls to adjust lighting and camera exposure
- Management of game time: current time, day length, day or night
- Clone or download the repository.
- Open the project in Godot and run
demo/Sky3DDemo.tscn
to test it. - Copy
addons/sky_3d
into your projectaddons
directory. Create the folder if missing. - Open
Project -> Project Settings -> Plugins
and enable the plugin.
- Create or open a Scene.
- Remove any existing
WorldEnvironment
node. - Create a new
Sky3D
node. - Customize the settings of the
Sky3D
,Sky3D/Environment
,TimeOfDay
,Skydome
,SunLight
, andMoonLight
nodes. Some settings like light energy, color, and angle are driven by Sky3D and not changeable unless you disableSky3D.enable_editor_time
and/orenable_game_time
. Other settings like shadow configuration are adjustable.
For support, join our Discord server.
This plugin was originally written for Godot 3 in GDScript and C# by J. Cuéllar. The original repository was deleted. We revived it, ported the GDScript version to Godot 4, and have continued to build on it.
Developed for the Godot community by:
Sky3D v2 for Godot 4 | |
Cory Petkovsek, Tokisan Games | |
Roman Shapiro | |
TimeOfDay v1 for Godot 3 | |
J. Cuéllar |
And contributors shown in the right sidebar of the github repository.
This addon has been released under the MIT License.
If using the stars asset, you must credit the author.