- Home /
Unity Terrain second controll map property name.
I'm using shader graph to make a triplanar shader for my terrain. I have managed to access most of properties through references but i cant find what is the name of second controll texture. First one is "_Control" and works perfectly. But following naming standard of other properties with "_Control1" sadly got me nothing. Anyone knows reference name of second control?
Answer by Namey5 · Aug 07, 2019 at 01:40 PM
All terrain control textures are passed through the same property one at a time - as such, they are all named "_Control". This is because of how Unity handles terrain drawing with more than 4 texture sets; it re-renders the terrain every 4 textures with a new control map and combines it with the previous passes. If you want more than one control map in the same shader, you'll have to access it through a script and pass it to the material manually.
https://docs.unity3d.com/ScriptReference/TerrainData-alphamapTextures.html
Your answer
![](https://koobas.hobune.stream/wayback/20220612210200im_/https://answers.unity.com/themes/thub/images/avi.jpg)