Hello, I have a Terrain
with a few TerrainLayer
s and I would like to change the tint color of the TerrainLayer
s via script.
The tint color
property is only visible through the Terrain
inspector and not through the TerrainLayer
inspector and likewise, I don’t see a colorTint
property in the Visual Studio suggestions under terrainLayer
. Interestingly though, changing the color tint changes the color for all terrains that use that TerrainLayer
.
Does anybody know if it is possible to change the TerrainLayer
color tint via script?
If not, the only alternative I see would be to create new textures with the color already baked in and apply those via script using the terrainLayer.diffuseTexture
property.
Thanks.
Um... I don't see any tint color in the terrain, only Grass Tint which corresponds to TerrainData.wavingGrassTint.
– Columbium