Posts

Showing posts with the label glowingsphere

Creating Glowing Sphere in Three JS + Notable Hints

Image
One of the very useful projects that can be used for larger projects is creating a glowing sphere using Three js . The use cases of this object are very wide. It can be used for simulating the sun, the moon, the planets, or the planet earth itself. A glowing sphere usually has a kind of halo based on the kind of object it is. For instance, the planet earth needs a kind of a halo for simulating its atmosphere or the moon needs a halo for simulating the white light around it. When we want to simulate the sun in open space, we need a glowing sphere as well. Creating a Glowing Sphere from Scratch In this article, we are going to get familiar with the steps we can take to create a glowing sphere in Three js. Of course, we are going to simulate the halo of the glowing sphere with the aid of shaders. If you are a beginner, don’t worry because we are going to teach you how to do this task from scratch. As we mentioned earlier, a glowing sphere is composed of the sphere itself...