Ok so I am trying to paint my terrain procedurally but it only allows me to use 4 terrain textures.
I cant increase it at all, it says “incorrect number of values”, whats happening? I tried adding more more heightstops but it didn’t work either. I tried many things, all failed.
Here is the code:
float sStops = new float; float hStops = new float; //This has to be same number as terrain textures. sStops = 0.1f; sStops = 25.0f; hStops = Random.Range(0.01f,0.015f); hStops = Random.Range(0.08f,0.58f); hStops = Random.Range(0.37f,0.98f); hStops = Random.Range(0.71f,1.0f); this.gameObject.GetComponent<TerrainToolkit>().TextureTerrain(sStops, hStops, dTextures01);
So recap: This code above paints the terrain with the 4 textures in dtextures01 but I cant increase it to more than 4? How could I do that?