TerrainLayerSmoothnessSource
Source of smoothness value used in the underlying splat material of a TerrainLayer when TerrainLayer.diffuseTexture has an alpha channel.
Read time 1 minuteLast updated 4 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.TerrainModule
public enum TerrainLayerSmoothnessSource
Remarks
When TerrainLayer.diffuseTexture has an alpha channel, you can set smoothness by TerrainLayer.smoothness or through the alpha channel of the diffuse texture.
Fields
Value | Description |
|---|---|
| Constant | Smoothness value comes from TerrainLayer.smoothness. |
| DiffuseAlphaChannel | Smoothness value comes from the alpha channel of TerrainLayer.diffuseTexture. |