SpatialMaterialDistanceFadeModeEnum Enumeration |
[Missing <summary> documentation for "T:Godot.SpatialMaterial.DistanceFadeModeEnum"]
Namespace: Godot
public enum DistanceFadeModeEnum
Member name | Value | Description | |
---|---|---|---|
Disabled | 0 | Do not use distance fade. | |
PixelAlpha | 1 | Smoothly fades the object out based on each pixel's distance from the camera using the alpha channel. | |
PixelDither | 2 | Smoothly fades the object out based on each pixel's distance from the camera using a dither approach. Dithering discards pixels based on a set pattern to smoothly fade without enabling transparency. On certain hardware this can be faster than . | |
ObjectDither | 3 | Smoothly fades the object out based on the object's distance from the camera using a dither approach. Dithering discards pixels based on a set pattern to smoothly fade without enabling transparency. On certain hardware this can be faster than . |