Table of Contents

Enum BaseMaterial3D.DistanceFadeModeEnum

Namespace
Godot
Assembly
GodotSharp.dll
public enum BaseMaterial3D.DistanceFadeModeEnum : long

Fields

Disabled = 0

Do not use distance fade.

ObjectDither = 3

Smoothly fades the object out based on the object's distance from the camera using a dithering approach. Dithering discards pixels based on a set pattern to smoothly fade without enabling transparency. On certain hardware, this can be faster than PixelAlpha and PixelDither.

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 dithering approach. Dithering discards pixels based on a set pattern to smoothly fade without enabling transparency. On certain hardware, this can be faster than PixelAlpha.