December 2025
Intermediate to advanced
440 pages
10h 3m
English
The previous chapter brought life to our game via pathfinding – this is where we created dynamic movement by adding wandering NPCs to our World scene and learned how to utilize both the NavigationServer and NavigationAgent nodes in Godot.
In this chapter, we’ll discover how Godot uses lighting and explore its lighting nodes. We’ll spend some time creating two different types of lighting in our scene: directional and omnidirectional (omni) lighting. Light, of course, cannot exist without darkness, so we’ll be exploring some of the shadow (occluding) nodes that are available in Godot. We’ll also create a day/night cycle for our World scene to show the passage of time in our game.
Lighting is an important component ...
Read now
Unlock full access