5Y5T3M/Assets/Earth
2025-09-17 23:38:11 +02:00
..
EarthScene fancy 2025-09-16 14:20:19 +02:00
Editor feat: added earth asset 2025-09-15 22:28:04 +02:00
Materials revert: earth material changes 2025-09-17 17:08:29 +02:00
Prefab feat: added earth asset 2025-09-15 22:28:04 +02:00
Scripts feat: added earth asset 2025-09-15 22:28:04 +02:00
Textures feat: level editor saves 2025-09-17 10:12:15 +02:00
EarthScene.meta feat: added earth asset 2025-09-15 22:28:04 +02:00
EarthScene.unity feat: connection hover ingame 2025-09-17 23:38:11 +02:00
EarthScene.unity.meta feat: added earth asset 2025-09-15 22:28:04 +02:00
EarthSceneSettings.lighting feat: added earth asset 2025-09-15 22:28:04 +02:00
EarthSceneSettings.lighting.meta feat: added earth asset 2025-09-15 22:28:04 +02:00
Editor.meta feat: added earth asset 2025-09-15 22:28:04 +02:00
Materials.meta feat: added earth asset 2025-09-15 22:28:04 +02:00
Prefab.meta feat: added earth asset 2025-09-15 22:28:04 +02:00
Readme.txt feat: added earth asset 2025-09-15 22:28:04 +02:00
Readme.txt.meta feat: added earth asset 2025-09-15 22:28:04 +02:00
Scripts.meta feat: added earth asset 2025-09-15 22:28:04 +02:00
Textures.meta feat: added earth asset 2025-09-15 22:28:04 +02:00

Earth Model for Unity
(c) 2016 Digital Ruby, LLC
Created by Jeff Johnson

Licensed under the MIT license

Version: 1.1.2

Instructions:
- Set linear color space in player settings.
- Drag the Earth prefab into your scene.
- Setup the material properties on EarthMaterial, or clone to make your own planets by changing out the textures and tweaking the properties.
- Make sure you have at least one dir light in the scene, or set the Sun property on the earth script.
- Setup the earth script with an axis to rotate around, or leave as 0, 0, 0 to rotate around the initial up vector.
- Done!

Details:
I created this Earth asset in my spare time for use in prototyping space sims, and because I needed a dynamic sphere generator of better quality than Unity's default sphere. Plus I wanted an Earth with a separate cloud layer.

You should be able to make any planet you want simply by changing the materials for the earth main object and cloud layer object.

The sphere creation script defaults to IcoSphere which looks better, especially at the poles. For other non-planet cases you may have better luck with non-ico sphere. You don't have to do anything as these work automatically during design time and are stripped out in the final build.

I hope you enjoy this asset. Feel free to include it in your own assets, games and source code. Please just retain the MIT license in the script file and add a credit in your readme or asset description that links back to this asset. Thank you!

- Jeff