Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jalizadeh/Procedural-Planets
Create your own planet, procedurally
https://github.com/jalizadeh/Procedural-Planets
procedural shader unity unity3d
Last synced: 2 months ago
JSON representation
Create your own planet, procedurally
- Host: GitHub
- URL: https://github.com/jalizadeh/Procedural-Planets
- Owner: jalizadeh
- Created: 2019-11-05T16:24:10.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2019-11-11T08:20:13.000Z (about 5 years ago)
- Last Synced: 2024-08-03T05:17:50.669Z (6 months ago)
- Topics: procedural, shader, unity, unity3d
- Language: C#
- Homepage:
- Size: 8.6 MB
- Stars: 18
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Procedural Planets
This project starts from creating a circular planet with mountains, alleys and oceans and ends with setting color and gradient overlays. The total processes of creating the planet and the shader are at your hands, to setup and create your own planet as you wish.
### Images
First 3D mesh generation attempt
![](images/PP01-1.jpg)Planet mesh generation
![](images/PP01-2.jpg)Shape and Color settings added
![](images/PP02.jpg)Noise-based deformation (Simple Noise)
![](images/PP03.jpg)Noise-based deformation (Rigid Noise)
![](images/PP04.jpg)Shader added
![](images/PP05.jpg)Biomes added
![](images/PP06.jpg)Ocean shader added
![](images/PP07.jpg)### Technical Info
The planet is made of six 2D planes, facing out on the six axis. The resolution can be set between, minimum 2 and maximum 256 vertecis (on each dimension of each plane).Each planet has it's own features which are placed in `Shape Settings` and `Color Settings` (they can be created as seperate `asset`);
- Shape Settings
- Planet radius
- Noise layers with lots of properties- Color Settings:
- This project uses `Light Weight Pipeline` and `PBR (Physically Based Rendering) Shader` ([video](https://www.youtube.com/watch?v=_LaVvGlkBDs)) to calculate the UV and finally colors, based on the points position on the planet's surface.
- Unlimited number os biomes (for defining different regions/environments)
- Ocean
- Option for blending the different biomes### Features
- Dynamic mesh generation
- Noise-based mesh deformation
- Editor programming
- Dynamic material generaion
- UV-based material seperation### Others
With special thanks to [Sebastian Lague](https://www.youtube.com/watch?v=QN39W020LqU&list=PLFt_AvWsXl0cONs3T0By4puYy6GM22ko8)