static void GeneratePermutationTexture() { Texture2D tex = PerlinNoise.CreatePermutationSamplerTexture(TextureFormat.Alpha8); SaveTextureAsPNG(tex, Application.dataPath + "/PerlinNoise/Textures/permutation.png"); AssetDatabase.Refresh(); }