-
Notifications
You must be signed in to change notification settings - Fork 0
pejoph/TerrainGenerator
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
Here is a procedural terrain generation tool in which users can create a wide variety of different 3D terrains by adjusting initial generation parameters using sliders. The terrain generation is achieved by creating a mesh and setting the heights at each vertex equal to a corresponding value of fractal noise. The water level is then set and the colours of each face of the mesh are set based on this. Trees and rocks are spawned in on the grass level and the sea and beach levels, respectively. The generated world is populated with tessellating square tiles. When the camera is moving, these tiles wrap around and regenerate with new position values to give the appearance of an infinite world. To achieve the desired aesthetic of the water, a shader was developed using Unity's Shader Graph which produces foam, refraction, and a depth gradient. Shader Graph was also used to create the world-bending effect. Video can be found here: https://www.youtube.com/watch?v=yUtS7xOZ7RM Made in the Unity game engine.
About
Scripts used for a continuous 3D Terrain Generator
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published