Enum BaseMaterial3D.ShadingModeEnum
- Namespace
- Godot
- Assembly
- GodotSharp.dll
public enum BaseMaterial3D.ShadingModeEnum : long
Fields
Max = 3
Represents the size of the BaseMaterial3D.ShadingModeEnum enum.
PerPixel = 1
The object will be shaded per pixel. Useful for realistic shading effects.
PerVertex = 2
The object will be shaded per vertex. Useful when you want cheaper shaders and do not care about visual quality. Not implemented yet (this mode will act like PerPixel).
Unshaded = 0
The object will not receive shadows. This is the fastest to render, but it disables all interactions with lights.