I have a few things I am trying to accomplish but would like a better technical understanding of what a terrain is. I have one, it is a park with tiles on the ground, grass and other assets sitting on it.
I wanted to hide all these objects (to show photosphere images in their entirety). I did this by creating a second GO with a terrain collider that references the park terrain data in the Terrain Collider/Terrain Data field. I have not assigned the Terrain Data of the park which is why I think it works. Players can basically walk along the terrain (of the park) while no park is visible.
Ideally however I would like it to have its own terrain data but one that mostly matches the park terrain minus everything that looks like the park, i.e. the ground tiles and grass.
Is there a way to a) copy the data b) adjust the textures such that everything becomes transparent and/or I could add some effects by just changing the textures?
It works now but it is a kludge. I also want to add a 3rd terrain. This would have to have the same basic outline as the park as well but again I could change the look and feel and add other assets on top of it. This would permit me to swap the “scenery” while in-game and players just keep walking around. They do not fall through the floor and stuff.
Bonus question. Once one has say drawn something on a terrain can it be “undrawn”? I don’t know what it means but I just want to get rid of the stuff that looks like a park without changing the bumps, height and such of the park terrain. If there is a “hill” I would just want to make the hill a different texture without actually drawing the hill again.
Oh, making some headway… copied the terrain file and textures and I’m able to edit the textures as I thought. This may actually work.
There was a problem. I sure wish I knew how this worked. While I had separate textures in a separate folder when I edited the textures in the new terrain they changed in the park terrain as well. While the names are identical each references the image from a different folder.
Odd.
Okay something to do with the layer I think. Like these are shared or something.
Well talking to myself seems to help I created individual palettes and I was able to remove the park textures from my new one. I could not find a way to substitute one texture for another such that for instance the “sand” in the park looked like stone in the new one. In any case I have this mesh that I can plainly see now and I should be able to create new textures and paint with them.
If this works I believe I have what I wanted. Hooray.
Spoke too soon. I have 3 terrains. The park is working and independent (phew). The other two have their own terrain data and layer palette but try as I will if I change the layer palette on one of them the other one changes to the same layer palette. I need these to be independent so I can add unique textures and draw on them independently.
Some internal reference that I can’t locate seems to hook them together. Bummer.
Well searches indicate that many people have had similar issues copying a terrain and having some internal references shared with the original. I’ve tried a lot of things and while the appearance of the terrains look okay it is a bit disturbing to think they are sharing some file I can’t seem to locate. I’m getting the sense that multiple terrains in a scene have some sort of issue.