public Heightmap() { pass = new HeightmapPass[4]; for (int i = 0; i < 4; i++) { pass[i] = new HeightmapPass(); } random = new System.Random(seed); }