- Home /
Question by
RyuMaster · Nov 08, 2013 at 05:11 AM ·
textureterrainterraintextureterrains
Access terrains "Alphamap 0" from within code
Every terrain with textures has "Alphamap 0" texture created inside Terrain Data. I want to replace it with my own; Now, inside code, I can just:
public Texture2D,
drag-and-drop it and go on.
But I want to fully automate the process. Is there any way to get to this particular "SplatAlpha 0" texture2D inside terrainData, using just editor script?
Like, this code: http://forum.unity3d.com/threads/412...atmap-download But I want to fully automate it.
Comment
Your answer
Follow this Question
Related Questions
How do I extract a texture map from a terrain? 1 Answer
Get texture from terrain. 1 Answer
Weird lines on the grass texture 0 Answers
how do I add texture to the terrain? 1 Answer
How to get cracked road textures?? 0 Answers