Simple Planet Generator - Procedural Planets
Dylan Auty
$9.99
Date |
Price |
---|---|
日期和时间 |
价钱($) |
03/25(2018) |
9.99 |
11/17(2024) |
9.99 |
Jump AssetStore
Simple Planet Generator which uses simplex/perlin noise to create unique planets while allowing you to control all aspects of the algorithm.
The system also includes control over planet water sphere, a custom atmosphere shader, and has basic planet gravity in place.
Control seabed, surface, cliff, and water color from one script. Choose from smooth or rough (simplex/perlin) for planet generation and watch your procedural planet come to life!
The package also includes a planetary cloud system, axis rotation and various prefabs to get you started!
Overview
It is important to note that this system does not currently have a draw tool, and purely makes use of algorithms which will generate planets within Unity. We do however feature a large amount of options which allow you to customize the planets to your preference.
We highly recommend that new users make use of the Prefabs included with the system. However all scripts will run independently and you are more than welcome to simply drag these scripts onto your own meshes. (We do include a default mesh for use in your projects)
Planet Generator
The Planet Generator script controls the primary planet generation, by deforming the base mesh using one of two noise options, more on this later.
It allows you to setup heights, surface tweaks, colors, and control your water sphere (optional)
The custom inspector was developed to streamline this process and make it easy to use regardless of your development experience.
Planet Clouds
The planet clouds system handles generating clouds dynamically within the range of your planet. This is done by using a defined spawn altitude and spawning clouds (particle system in examples) randomly within range of the planet.
The inspector allows for simple control, however we do advise that you keep an eye on resource load, as increasing cloud density may cause issues with optimization.
We include the following prefab in our demo for the cloud system which uses a custom texture and the Unity Particle System.
Planet Atmosphere
The system includes a custom shader which will add an atmospheric glow to the object which it is placed on.
We have included this in our demo system as a sphere with a material applied which uses this shader. You are welcome and encouraged to use this in your projects as well
Planet Gravity
We also include a very simple planet gravity system which will find all colliders (with rigidbody attached) within range and apply force to them to attract them to your planet surface.
Force is applied dynamically based on distance, meaning objects will move faster the closer they get to your planet surface.
The inspector also allows you to force objects to face the planet as they approach
Planet Axis Rotation
We noticed in our own projects that we sometimes wanted the planet to rotate on a specific axis, so that we could see all sides of the planet as we were making changes.
We therefore included a script which could also handle this for you.
Simply attach it to your planet, select an axis, and set your preferred speed.
Thank you!
We really appreciate that you are taking a look at our asset and we look forward to seeing what great projects you create using this asset!
For any recommendations, issues, or feedback - Please get in touch! We would love to hear from you!
Simple Planet Generator, Clouds, Atmosphere, Gravity, Rotation - Procedural Planets