Procedural Rock Generator

Generate Procedural, Stylized Rocks in Unity

  1. Create an empty game object in the scene
  2. Assign Procedural_Rock_Generator script as component to that empty game object
  3. Then we can see that some rock cliffs will be creating in the scene
  4. Now adjust the options as you need
    1. To get start with presets there are shape & material dropdown options avaialble
      • Shape dropdown will provide different types of rock shapes
      • Material dropdown will provide different types of material looks
    2. The rest of the options are very straight forward and self explanatory.
      • Seed: random integer for generating random shapes.
      • Density: count factor of rocks.
      • Radius: individual rock distance from center.
      • Scale: rock size in both x and y axis.
      • Direction: the leaning angle of rocks between 0 to 180 degrees.
      • Width: rock size in x axis.
      • Length: rock size in y axis.
      • Height: height of rocks
      • Random Areas: displays the head vertices in XZ-plane from circle shape to random. 0 means circle shape, 1 means full random positions in the XZ-plane.
      • Random Heights: displays the head vertices in Y-axis in random amounts. 0 means no random y-position, 1 means full random Y-position.