Unity terrain textures | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

Unity terrain textures

Does anyone know how to add textures to the terrain in Unity? I create a new texture(just a plain color) and try to drag it onto the terrain, but it stays the same color, any help is appreciated.

11th Feb 2018, 1:10 AM
Jax
Jax - avatar
3 Answers
+ 4
Before you can paint any textures to the terrain, you must first add at least one texture to the terrain. To get started quickly, Unity provides suitable terrain assets in the Standard Packages that comes with Unity. To import the Terrain Assets, select Assets > Import Package > Terrain Assets from the main menu. Click the Import button to import these assets into your current project. With the Paint Texture tool selected in the Inspector click the Edit Textures…button and select Add Texture from the popup that appears. The Add Terrain Texture dialog box should appear. The Add Terrain Texture dialog has the following properties. Splat: The texture to apply to this slot in the terrain. Tile Size: How large each tile of the texture is applied to the terrain. Larger tiles means the texture will have less tiles across the terrain in each direction. Smaller tiles will mean the texture will be repeated more times across the terrain in each direction. Tile Offset: Adjusting this parameter will shift the texture in the terrain. This is useful if you want to blend multiple layers with the same texture to break the repetition that occurs when using a single texture. Click the target button on the Splatparameter and select a texture to apply to the terrain.
11th Feb 2018, 3:11 AM
Mohd Zaki
Mohd Zaki - avatar
+ 1
Thanks. Will have to try it out tomorrow.
11th Feb 2018, 3:11 AM
Jax
Jax - avatar
0
ok
11th Feb 2018, 3:18 AM
Mohd Zaki
Mohd Zaki - avatar