Legacy Documentation: Version 4.6.2
Language: English
How do I Use Normal Maps?
How do I Make a Skybox?

How do I use Detail Textures?

Suggest a change

Success!

Thank you for helping us improve the quality of Unity Documentation. Although we cannot accept all submissions, we do read each suggested change from our users and will make updates where applicable.

Close

Sumbission failed

For some reason your suggested change could not be submitted. Please try again in a few minutes. And thank you for taking the time to help us improve the quality of Unity Documentation.

Close

Cancel

A Detail texture is a small, fine pattern which is faded in as you approach a surface, for example wood grain, imperfections in stone, or earthly details on a terrain. They are explicitly used with the Diffuse Detail shader.

Detail textures must tile in all directions. Color values from 0–127 makes the object it’s applied to darker, 128 doesn’t change anything, and lighter colors make the object lighter. It’s very important that the image is centered around 128 - otherwise the object it’s applied to will get lighter or darker as you approach.

  1. Draw or find a grayscale image of the detail texture.

The Detail Texture

The Levels
The Levels
  1. Save the image next to your main texture.
  2. In Unity, select the image and under “Generate Mip Maps”, enable Fades Out and set the sliders to something like this in the Import Settings in the Inspector.
  3. The top slider determines how small the texture should before before beginning to fade out, and the bottom determines how far away it is before the detail texture completely disapear.

s.

  1. In the Material Inspector on the right, select Diffuse Detail from the Shader drop-down:
  1. Drag your texture from the Project View to the Detail texture slot.
  2. Set the Tiling values to a high value
How do I Use Normal Maps?
How do I Make a Skybox?