Table of Contents

Enum Shader.Mode

Namespace
Godot
Assembly
GodotSharp.dll
public enum Shader.Mode : long

Fields

CanvasItem = 1

Mode used to draw all 2D objects.

Fog = 4

Mode used for setting the color and density of volumetric fog effect.

Particles = 2

Mode used to calculate particle information on a per-particle basis. Not used for drawing.

Sky = 3

Mode used for drawing skies. Only works with shaders attached to Sky objects.

Spatial = 0

Mode used to draw all 3D objects.