Video Thumbnail

Unlock this lesson

Sign up for a plan to instantly unlock all premium lessons.

Unlock Lesson

Premium Features

Video unavailable for download

Creating a Starfield

To add a field of stars around our plane, we're going to need to use Three.js' Points object. This is very similar to a mesh, except it only utilizes a geometry's position attribute to populate your screen full of points.

This episode will teach you how to create and use this Points object, and how to rotate your starfield so you get the effect of stars swirling around a rotating planet.

Comments

Want to participate?

Create a free Chris Courses account to begin

No comments yet, be the first to add one