epraeter / Capstone

Car Survival Game
0 stars 0 forks source link

Unity Terrain Generation #7

Open JReese1212 opened 2 years ago

JReese1212 commented 2 years ago

Making procedure generation of terrain

Chai71n commented 2 years ago

Started Generation:

Chai71n commented 2 years ago

I made some infrastructure for generating random buildings. It will choose from a list of heights and materials for the building. I am planning to use it for making district areas on the map: residential, commercial, downtown, etc. For instance, residential areas will have small building with lots of colors while downtown will have very tall buildings with gray colors. I also made some updated 3d models for the roads, but they are having some sizing issues so I didn't implement them yet. buildings

Chai71n commented 2 years ago

Fixed some generation logic and fixed some bugs:

Chai71n commented 2 years ago

Districts made: residential, commercial, and downtown Bug fix: When two rivers spawned next to each other, with a one tile gap, roads would turn into the water. Screenshot 2021-11-17 135551 Screenshot 2021-11-17 135451

Chai71n commented 2 years ago

Created Finalized Tiles in Blender and got them working with current world generation.

Chai71n commented 2 years ago

script for running into objects https://user-images.githubusercontent.com/71794469/142747819-4a5597a0-6d53-4641-9126-14740d5b5eaa.mp4

Chai71n commented 2 years ago

made water material that flows with noise function. Deep water is darker and shallow water is lighter. https://user-images.githubusercontent.com/71794469/142747900-a4e91af3-fd44-46fa-8384-425d638bd9ee.mp4

Chai71n commented 2 years ago

I made a skybox in photoshop. It is just a 4k png in a skybox material. Skybox

Chai71n commented 2 years ago

Generating border walls around world. Screenshot 2021-11-29 125249