logo

Babylon.js Market

By Lawrence

5 minutes

TL;DR — Add SpaceDust, one marker on the World entity, and empty space finally feels like speed. You get a dust field the ship flies through, plus glow, HDR bloom, and a sun placed in the sky. New here: the motion cues that make flying feel fast. Fly far through them and you will see the precision drift that Lesson 8 fixes.

Catching up?

Dropping in at this lesson? One command reinstalls the library components the build uses so far and writes the scene as it stood at the end of the previous lesson to public/scenes/WingmanFlight1-lesson-7/scene.json:

bjs download scene WingmanFlight1-lesson-7 --all

Copy that scene.json over your src/scenes/wingman.json and you are caught up to the start of this lesson.

Fly a hard burn now and something feels off. The chase camera from last lesson follows the falcon perfectly. But the falcon barely seems to move. Throttle to full and the ship sits dead center. The background is the same flat black it was when you stood still. On the ground, you see speed in the world rushing past. Trees, the road, the horizon tilting. Out here there is no world to rush past. So we bring one, a speck at a time. We add a dust field the ship flies through. We add glow and bloom so a star looks like a real star.

Continue reading

Unlock the Full Course

Every lesson, the runnable examples, and the finished build — yours to keep.

$9one-time

Was this page helpful?

We read every note — tell us what's working and what isn't.

↑↓ NavigateEnter SelectEsc CloseCtrl+K Open Search