Video Thumbnail

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

UNLOCK LESSON

Premium Features

Download Video

Creating a Starfield

Published 3 years ago

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

Login

No comments yet, be the first to add one

Providing the lift to launch your development career

© 2024 Chris Courses. All rights reserved.