Creating the sun is a lot like making the earth and moon spheres, with one exception though. Since the sunlight source will be inside the sun (at 0,0,0 origin), its surface won't get illuminated. Instead, we'll make the sun material an emission:
- Import sun.png into Assets/SolarSystem/Texture.
- Create a Sphere object named Sun, which will be a child of SolarSystem.
- Delete its Sphere Collider.
- Drag the Sun texture onto the Sun object.
- Unfold its material and uncheck Specular Highlights and Reflections.
- Check Emission.
- Drag the sun texture onto the Emission Color chip.
- Move Sunlight so it becomes a child of the Sun.
The following is the resulting Scene view:
The following is the resulting Hierarchy:
Also, here is the sun ...