Skip to content

Library of procedural generation code for use in Unity

License

Notifications You must be signed in to change notification settings

coryleach/UnityProcgen

Repository files navigation

Gameframe.Procgen 👋

GitHub release (latest by date including pre-releases) license

twitter

Library of utilitities for procedural generation

Quick Package Install

Using UnityPackageManager (for Unity 2019.3 or later)

Open the package manager window (menu: Window > Package Manager)
Select "Add package from git URL...", fill in the pop-up with the following link:
https://github.com/coryleach/UnityProcgen.git#0.0.9

Using UnityPackageManager (for Unity 2019.1 or later)

Find the manifest.json file in the Packages folder of your project and edit it to look like this:

{
  "dependencies": {
    "com.gameframe.procgen": "https://github.com/coryleach/UnityProcgen.git#0.0.9",
    ...
  },
}

Sample Output

Usage

Provides Value, Perlin and Simplex noise functions that are seeded and random-access. Perlin and Simplex noise methods are based on the Catlike Coding tutorial but are implemented using Squirrel Eiserloh's noise algorithm rather than the hash method used in the tutorial. This provides the ability to Seed all the noise functions.

There is a demo package included in the demo folder. After importing this as a package just double click it to import.

The demo requires that you import Shader Graph and the Universal Render Pipeline packages from the package manager.
Ensure both 'depth texture' and 'opaque texture' options are enabled on your renderer asset or set unity to use the included render assets. The demo may require 2019.3

Author

👤 Cory Leach

Show your support

Give a ⭐️ if this project helped you!


This README was generated with ❤️ by Gameframe.Packages