Hi, could you please give up more Access to the terrain Data please!
“terrainData.treeInstances.color” & “terrainData.treeInstances.lightmapColor”, are both vague, what they are actually doing are finding all materials on the tree instances, and setting the color, this is a problem when you end up changing the color of the bark and the leaves. Perhaps one might only want to change the color of the leaves and not the bark?
Please return an array instead of setting the color to all materials on the tree instance, we need the flexibility.
for example: terrainData.treeInstances.colors[0].color
Thank you!