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