Search Unity

  1. Welcome to the Unity Forums! Please take the time to read our Code of Conduct to familiarize yourself with the forum rules and how to post constructively.
  2. Have a look at our Games Focus blog post series which will show what Unity is doing for all game developers – now, next year, and in the future.
    Dismiss Notice

Feature Request Voronoi function in Unity

Discussion in 'Scripting' started by mick129, Aug 16, 2022.

  1. mick129

    mick129

    Joined:
    Jun 19, 2013
    Posts:
    200
    There is a Perlin noise function in Unity Mathf.PerlinNoise() I see in the documentation that there is no equivalent for a Voronoi, so I was wondering, does anyone know a way to build a Voronoi in c# without doing all the math?
     
  2. Kreshi

    Kreshi

    Joined:
    Jan 12, 2015
    Posts:
    276
    Last edited: Aug 16, 2022
  3. PraetorBlue

    PraetorBlue

    Joined:
    Dec 13, 2012
    Posts:
    7,239
  4. mick129

    mick129

    Joined:
    Jun 19, 2013
    Posts:
    200
    Thank you for the reply :)

    Actually something that I didn't mention is that I wanted to build some tool and have the possibility to release it as an asset so I wanted to avoid using someone else's work for that :)
     
  5. Kreshi

    Kreshi

    Joined:
    Jan 12, 2015
    Posts:
    276
    The posted github content has MIT license :).
     
    mick129 likes this.