SpatialMaterialDiffuseMode Enumeration |
[Missing <summary> documentation for "T:Godot.SpatialMaterial.DiffuseMode"]
Namespace: Godot
public enum DiffuseMode
Member name | Value | Description | |
---|---|---|---|
Burley | 0 | Default diffuse scattering algorithm. | |
Lambert | 1 | Diffuse scattering ignores roughness. | |
LambertWrap | 2 | Extends Lambert to cover more than 90 degrees when roughness increases. | |
OrenNayar | 3 | Attempts to use roughness to emulate microsurfacing. | |
Toon | 4 | Uses a hard cut for lighting, with smoothing affected by roughness. |