API

Getting Started - Chapter 7 - Light the Night

Lighting the Village

Perpetual light in the village can make sleeping very difficult, so we will introduce nighttime by turning the lights down. Of course, people do not want to walk in total darkness at night, so we will add some street lights. Since perpetual night is no better than perpetual day, we will add an interface to change from one to the other. We want to turn the light down at night and bring it up during the day, so let's add a GUI control to do this. Also, where there is light, there are shadows, and Babylon.js can add them as well.

Coming next

Getting Started - Chapter 7 - Day to Night
Learn the basics of the Babylon.js GUI system.
Getting Started - Chapter 7 - Day to Night
Getting Started - Chapter 7 - Light the Night
Learn how to add spotlights to your scene.
Getting Started - Chapter 7 - Light the Night
Getting Started - Chapter 7 - Adding Shadows
Learn how to add shadows to your Babylon.js scene.
Getting Started - Chapter 7 - Adding Shadows