January, 2023

RANDOM FOREST GENERATOR

This page highlights my ongoing features experimentation with random natural environment generation in Unity.

Random Natural Environment Research

Creation of a random natural environment

Here are the features I am experimenting with in my research

  • Tree: Using Unity's 'Tree' module;
  • Grass, bushes, fern, and mushroom: Integration of assets with texture shaders (shader graph) and LOD on 3D models.
  • Ground: Application of Shader Graph to a relief ground texture.
  • Wind animation on the elements is managed using a 'Wind Zone' for trees and through shaders for the other elements.

In this part of my research, I practiced creating shaders for vegetation using Unity's ShaderGraph. Here are a few examples:

Creation of a tool for randomly placing elements using various algorithms

Here are the names of algorithms I have implemented through this tool:

  • Noise
  • Poisson disc
  • Fairy ring

Generating points within a given area with an origin point. The origin point can be random, at the center of the area, tied to a reference, or originating from the same algorithm, allowing the tool to be used recursively.

Github Project Content

Research on Random Terrains to Create Interesting Landscapes

Creation of a random terrain with details

Throughout my research journey in random landscape creation, I came across other interesting features. I subsequently attempted to replicate them using the available documentation and tutorials.
One of my discoveries was about erosion created with a compute shader on terrain generated using Perlin noise. I attempted to replicate what had been achieved in youtube vidéo of 'Sebastian Lague', with the goal of learning how to use compute shaders in Unity.

Github Project Content

Creation of a biomes with random systeme

During my research, I also had the opportunity to experiment with biome creation by varying two randomly generated 2D textures, one representing the temperature of the terrain and the other depicting humidity.

Here is an example of my work in Unity for biome modeling

Click to Enlarge

Click to Enlarge

Click to Enlarge