By Lawrence
15 minutes
15 minutes
Fake Lights
Starting point
This lesson continues from the lab, with your changes from the last three lessons.
Lesson 1.8 counted the light budget. Real headlights on every car would mean 26 lights. Babylon's materials add up 4 by default, and the road raises its own cap to 8 with LIGHT_CAP. So only your car gets real lights. The other cars, and the town's street lamps, are painted on. Below: what adding light to a picture does, how a real lamp would light the road, and what happens when you hand every car a pair of real lights.
Continue reading
Unlock the Full Course
Every lesson, the runnable examples, and the finished build — yours to keep.
$5one-time
=