Ejemplo n.º 1
0
    public static Vector3 Directional3D(Vector3 pos, float frequency, float offset = 0)
    {
        Vector3 coord = new Vector3((pos.x + offset) * frequency, (pos.y + offset) * frequency, (pos.z + offset) * frequency);

        return(Perlin.PointOnUnitSphere(coord));
    }