O'Reilly logo

Panda3D 1.6 Game Engine by Dave Mathews

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Using point stars and billboard stars

The last step to completing our skybox will be adding stars. To get good results with stars, the most important things to remember are blending and variety. We want the stars to meld into the night sky in a natural way, so we have to blend them nicely with the elements already in place. We also want to hide the fact that they are computer generated, and most of them are just colored pixels. To do that, we introduce a lot of variety in them so that the eye is less likely to notice the similarity that gives away those weaknesses.

When using point and billboard star layers, we rely on masking to control their placement. We have two masking strategies to choose from. Our first option is to use the built-in masking ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required