LODFadeMode
The LOD (level of detail) fade modes. Modes other than LODFadeMode.None will result in Unity calculating a blend factor for blending/interpolating between two neighbouring LODs and pass it to your shader.
Read time 1 minuteLast updated 5 days ago
Definition
- Type: Enum
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public enum LODFadeMode
Fields
Value | Description |
|---|---|
| CrossFade | Perform cross-fade style blending between the current LOD and the next LOD if the distance to camera falls in the range specified by the LOD.fadeTransitionWidth of each LOD. |
| None | Indicates the LOD fading is turned off. |
| SpeedTree | By specifying this mode, your LODGroup will perform a SpeedTree-style LOD fading scheme: |